aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-27 19:23:25 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-27 19:23:25 +0000
commit2e868123fa63c3babb4601005608857a023066e1 (patch)
tree56217a3800752fa64b04335cdeffc2738a8eb597
parent2f604c289ba84bc9fabc57c42f2d2e0f07a4240e (diff)
downloadgdb-2e868123fa63c3babb4601005608857a023066e1.zip
gdb-2e868123fa63c3babb4601005608857a023066e1.tar.gz
gdb-2e868123fa63c3babb4601005608857a023066e1.tar.bz2
2004-09-27 Andrew Cagney <cagney@gnu.org>
Robert Picco <Robert.Picco@hp.com> * gdb.texinfo (Packets): Document the "p" packet.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo15
2 files changed, 14 insertions, 6 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index e67aa41..e810045 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-27 Andrew Cagney <cagney@gnu.org>
+ Robert Picco <Robert.Picco@hp.com>
+
+ * gdb.texinfo (Packets): Document the "p" packet.
+
2004-09-21 Jason Molenda (jmolenda@apple.com)
* gdb.texinfo (Paths and Names of the Source Files): Document the
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index d2174ec..858e0a6 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -19963,17 +19963,20 @@ Reserved for future use.
@item @code{O} --- reserved
-Reserved for future use.
-
-@item @code{p}@var{n@dots{}} --- read reg @strong{(reserved)}
+@item @code{p}@var{hex number of register} --- read register packet
@cindex @code{p} packet
-@xref{write register packet}.
+@xref{read registers packet}, for a description of how the returned
+register value is encoded.
Reply:
@table @samp
-@item @var{r@dots{}.}
-The hex encoded value of the register in target byte order.
+@item @var{XX@dots{}}
+the register's value
+@item E@var{NN}
+for an error
+@item
+Indicating an unrecognized @var{query}.
@end table
@item @code{P}@var{n@dots{}}@code{=}@var{r@dots{}} --- write register