This is the mail archive of the gdb-patches@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]

Re: RFA: implement "watch -location"


> From: Tom Tromey <tromey@redhat.com>
> Date: Wed, 11 Aug 2010 16:04:05 -0600
> 
> This patch steals an idea from Apple's gdb fork, namely "watch -location".
> I wrote this from scratch but in the end it looks pretty similar to what
> they did.

Thanks.

> +@value{GDBN} will evaluate @var{expr}, take the address of the result,
> +and watch that memory.  If the expression's result does not have an

I suggest a slight rewording here:

   ... take the address of the result, and watch the memory at that
   address.

Please also say something about the size of the memory area watched by
such a watchpoint.

The docs are OK with those changes.


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