This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/10136] rwatch not working when set before run
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Nov 2009 22:44:01 -0000
- Subject: [Bug breakpoints/10136] rwatch not working when set before run
- References: <20090509185516.10136.niko.sams@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.