This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: implement "watch -location"
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 12 Aug 2010 06:07:34 +0300
- Subject: Re: RFA: implement "watch -location"
- References: <m38w4c7qne.fsf@fleche.redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.