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/13680] New: Print address for watch -location


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.


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