[rfc target-side break conditions 1/5 v2] Documentation bits
Pedro Alves
palves@redhat.com
Thu Feb 23 17:46:00 GMT 2012
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
More information about the Gdb-patches
mailing list