diff options
author | Pedro Alves <palves@redhat.com> | 2010-12-23 20:29:17 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2010-12-23 20:29:17 +0000 |
commit | ad1966379db092124dfdaf9585ad496eab676c68 (patch) | |
tree | 760bf1db4ecf1309e00a5499665d024cecf6a4ea | |
parent | 829c9745074912fd5cc1d0389e9cf51fb979b70a (diff) | |
download | gdb-ad1966379db092124dfdaf9585ad496eab676c68.zip gdb-ad1966379db092124dfdaf9585ad496eab676c68.tar.gz gdb-ad1966379db092124dfdaf9585ad496eab676c68.tar.bz2 |
gdb/doc/
* gdb.texinfo (Packets) <read registers packet>: Document support
for registers that were not collected.
-rw-r--r-- | gdb/doc/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index df46a17..31e35d3 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2010-12-23 Pedro Alves <pedro@codesourcery.com> + + * gdb.texinfo (Packets) <read registers packet>: Document support + for registers that were not collected. + 2010-12-15 Doug Evans <dje@google.com> * gdb.texinfo (Startup): Document auto-loading of scripts during diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0e1d553..b48dc70 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -31815,6 +31815,21 @@ each register and their position within the @samp{g} packet are determined by the @value{GDBN} internal gdbarch functions @code{DEPRECATED_REGISTER_RAW_SIZE} and @code{gdbarch_register_name}. The specification of several standard @samp{g} packets is specified below. + +When reading registers from a trace frame (@pxref{Analyze Collected +Data,,Using the Collected Data}), the stub may also return a string of +literal @samp{x}'s in place of the register data digits, to indicate +that the corresponding register has not been collected, thus its value +is unavailable. For example, for an architecture with 4 registers of +4 bytes each, the following reply indicates to @value{GDBN} that +registers 0 and 2 have not been collected, while registers 1 and 3 +have been collected, and both have zero value: + +@smallexample +-> @code{g} +<- @code{xxxxxxxx00000000xxxxxxxx00000000} +@end smallexample + @item E @var{NN} for an error. @end table |