public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/10136] rwatch not working when set before run
       [not found] <bug-10136-4717@http.sourceware.org/bugzilla/>
@ 2024-05-13 12:28 ` igorkuo at gmail dot com
  2024-05-22 17:10 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: igorkuo at gmail dot com @ 2024-05-13 12:28 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=10136

Igor Kushnir <igorkuo at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igorkuo at gmail dot com

--- Comment #2 from Igor Kushnir <igorkuo at gmail dot com> ---
Cannot reproduce this bug in GDB version 14.2. Tested both the GDB command line
and GDB/MI KDevelop integration. The original (slightly updated) KDevelop test
function GdbTest::testBreakOnReadBreakpoint(), which used to fail and which
Niko Sams disabled in 2009 because of this bug, passes now without the error
message "Target does not support this type of hardware watchpoint.".

Therefore I recommend resolving this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/10136] rwatch not working when set before run
       [not found] <bug-10136-4717@http.sourceware.org/bugzilla/>
  2024-05-13 12:28 ` [Bug breakpoints/10136] rwatch not working when set before run igorkuo at gmail dot com
@ 2024-05-22 17:10 ` tromey at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2024-05-22 17:10 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=10136

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org
   Target Milestone|6.8                         |14.2
             Status|NEW                         |RESOLVED

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
I also tried, with gdb head, and this seems to work.
I'm going to close this now, please comment and/or reopen
if it's still an issue for you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug breakpoints/10136] rwatch not working when set before run
  2009-05-09 18:55 [Bug breakpoints/10136] New: " niko dot sams at gmail dot com
@ 2009-11-17 22:44 ` pedro at codesourcery dot com
  0 siblings, 0 replies; 3+ messages in thread
From: pedro at codesourcery dot com @ 2009-11-17 22:44 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From pedro at codesourcery dot com  2009-11-17 22:44 -------
This is a consequence of moving watchpoint ops to the target vector, and
to the fact that the native target is only pushed when the inferior is created.

The workaround is running to main before setting the read or access
watchpoints.  E.g. with, '(gdb) start'.

Plain "watch" works, because gdb creates a "software watchpoint" then,
and upgrades it to a hardware watchpoint later, when the process is
actually created (and the native target is pushed on the target stack).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://sourceware.org/bugzilla/show_bug.cgi?id=10136

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-22 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10136-4717@http.sourceware.org/bugzilla/>
2024-05-13 12:28 ` [Bug breakpoints/10136] rwatch not working when set before run igorkuo at gmail dot com
2024-05-22 17:10 ` tromey at sourceware dot org
2009-05-09 18:55 [Bug breakpoints/10136] New: " niko dot sams at gmail dot com
2009-11-17 22:44 ` [Bug breakpoints/10136] " pedro at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).