breakpoints/2476: Wishlist: trace points by memory location

claus.fischer@clausfischer.com claus.fischer@clausfischer.com
Fri Jul 11 13:48:00 GMT 2008


>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:



More information about the Gdb-prs mailing list