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]

breakpoints/2476: Wishlist: trace points by memory location


>Number:         2476
>Category:       breakpoints
>Synopsis:       Wishlist: trace points by memory location
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 11 13:48:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     claus.fischer@clausfischer.com
>Release:        any
>Organization:
>Environment:

>Description:
Very often I need to set watch points on integers
specified by memory location, not by expression.

Instead of
   watch expression

I have to do:
   p  expression
   p  &expression
   watch *(address-of-expression printed above)

It would be great to have a shorthand command for that,
a command that says:
   watch_at_memory_location expression

If that is possible, it would be very helpful.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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