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: [patch v9 06/23] btrace, doc: document remote serial protocol


On Mon, 04 Mar 2013 18:05:53 +0100, Markus Metzger wrote:
> Document the extensions to the remote serial protocol for supporting branch tracing.
> 
> CC: Eli Zaretskii <eliz@gnu.org>
> 
> 2013-03-04  Markus Metzger  <markus.t.metzger@intel.com>
> 
> doc/
> 	* gdb.texinfo (Requirements): List qXfer:btrace:read requiring expat.
> 	(General Query Packets): Describe qbtrace, Qbtrace, and qXfer:btrace:read.
[...]
> --- a/gdb/doc/gdb.texinfo
> +++ b/gdb/doc/gdb.texinfo
[...]
>  
> +@item qbtrace
> +Return whether new branch trace data is available for the current thread.
> +
> +Reply:
> +@table @samp
> +@item yes
> +New branch trace data is available.
> +@item no
> +No new branch trace data is available.
> +@item E.errtext
> +A badly formed request or an error was encountered.
> +@end table
> +
> +@item Qbtrace:on

Again it should be merged.


> +Enable branch tracing for the current thread.
> +
> +Reply:
> +@table @samp
> +@item OK
> +Branch tracing has been enabled.
> +@item E.errtext
> +A badly formed request or an error was encountered.
> +@end table
> +
> +@item Qbtrace:off
> +Disable branch tracing for the current thread.
[...]

Reviewed by Eli and probably also Pedro etc.


Thanks,
Jan


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