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: [rfc target-side break conditions 1/5 v2] Documentation bits


On 02/23/2012 03:37 PM, Pedro Alves wrote:
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.)


I'd rather make this "the target", as this stuff may be carried over to the IPA running on the target's side. It also is aligned with the "target" mode naming.


+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.


They are host and target now. This is what happens when the naming changes a couple times. :-)


Fixed.


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