This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/10136] rwatch not working when set before run


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]