watch -location

Sergio Durigan Junior sergiodj@redhat.com
Mon Jan 23 22:05:00 GMT 2012


Hello Jed,

On Sunday, January 22 2012, Jed Brown wrote:

> I was surprised when I upgraded to 7.3.1 that my common pattern of
>
> (gdb) print &obj->member
> $1 = (int *) 0x6fcf04
> (gdb) watch *$1
>
> was no longer watching the value at this address.

It is working OK with me.  Could you please file a bug with a
reproducer, as Tom suggested?

Thanks,

-- 
Sergio



More information about the Gdb mailing list