This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/16115] New: watch -location needless software watchpoint
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sat, 02 Nov 2013 10:02:29 +0000
- Subject: [Bug breakpoints/16115] New: watch -location needless software watchpoint
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16115
Bug ID: 16115
Summary: watch -location needless software watchpoint
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
Assignee: unassigned at sourceware dot org
Reporter: jan.kratochvil at redhat dot com
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
#include <vector>
int main () { std::vector<int> v;
return 0; }
GNU gdb (GDB) 7.6.50.20131021-cvs
(gdb) b 3
(gdb) r
Breakpoint 1, main () at vec2.C:3
3 return 0; }
(gdb) watch v
Hardware watchpoint 2: v
(gdb) delete 2
(gdb) watch -location v
Watchpoint 3: -location v
^^^^^^^^^^^^^
(gdb) p sizeof (v)
$1 = 24
And it really singlesteps after 'continue'.
--
You are receiving this mail because:
You are on the CC list for the bug.