This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/13680] New: Print address for watch -location
- From: "jed at 59a2 dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 10 Feb 2012 04:21:25 +0000
- Subject: [Bug breakpoints/13680] New: Print address for watch -location
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13680
Bug #: 13680
Summary: Print address for watch -location
Product: gdb
Version: 7.4
Status: NEW
Severity: enhancement
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: jed@59a2.org
Classification: Unclassified
The following is a common pattern for me:
(gdb) watch -location obj->member
Hardware watchpoint 3: -location obj->member
(gdb) info watchpoints
Num Type Disp Enb Address What
3 hw watchpoint keep y -location obj->member
Could the address of obj->member be printed in this output? It would
be useful for me to distinguish multiple watchpoints set for members
of different objects. (I.e. I set watchpoints twice from the same
scope with the same commands, but with different values of "obj", and
I'd like to be able to distinguish which of these are related other
than to remember which numbers refer to members of which object.)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.