This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc] Remote protocol: undocumented return value for 'p' and 'g'
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 23 Dec 2010 21:50:35 +0200
- Subject: Re: [doc] Remote protocol: undocumented return value for 'p' and 'g'
- References: <201012231913.08466.pedro@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Pedro Alves <pedro@codesourcery.com>
> Date: Thu, 23 Dec 2010 19:13:08 +0000
>
> It's intended usage is in the context of inspecting tracepoints, to
> report "the register exists, but I don't know its value, because I
> haven't collected it."
>
> (We actually have a local series of 60 or so (and counting)
> trace debugging related patches that actually make use of
> this mechanism).
>
> Okay to apply?
Yes, thanks.
> +literal @samp{x}'s in place of the register data digits, to indicate
> +the corresponding register has not been collected, thus its value is
"... to indicate that the corresponding register ..."
> +registers 0 and 2 have not been collected, while registers 1 and 3
> +have been collected, and have value zero each:
^^^^^^^^^^^^^^^^^^^^^^^^
"and both have zero value"