This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc target-side break conditions 1/5 v2] Documentation bits
- From: Pedro Alves <palves at redhat dot com>
- To: "Gustavo, Luis" <luis_gustavo at mentor dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Thu, 23 Feb 2012 17:37:39 +0000
- Subject: Re: [rfc target-side break conditions 1/5 v2] Documentation bits
- References: <4F2309FF.9050708@mentor.com> <83zkd8xmky.fsf@gnu.org> <4F450AA9.3020501@mentor.com>
On 02/22/2012 03:32 PM, Luis Gustavo wrote:
> +* New options
> +
> +set breakpoint condition-evaluation
> +show breakpoint condition-evaluation
> + Controls whether breakpoint conditions are evaluated by GDB ("gdb") or by
> + GDBserver ("target").
> + This option can improve debugger efficiency depending on the speed of the
> + target.
> +
> +* New remote packets
> +
> + The z0/z1 breakpoint insertion packets have been extended to carry
> + a list of conditional expressions over to GDBserver depending on the
suggest s/GDBserver/the remote stub/
(making clear the packet isn't only useful with GDB's own server.)
> +If a breakpoint is conditional, there are two evaluation modes: ``gdb'' and
> +``target''. If mode is ``gdb'', breakpoint condition evaluation is done by
> +@value{GDBN} on the host's side. If it is ``target'', then the condition
> +is evaluated by the target. The @code{info break} command shows
> +the condition on the line following the affected breakpoint, together with
> +its condition evaluation mode in between parentheses.
I'm probably confused by now, but I thought that the modes are now "host" and
"target". Other than that, no comment. I think the docs changes look great.
--
Pedro Alves