2004-09-27 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Mon, 27 Sep 2004 19:23:25 +0000 (19:23 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 27 Sep 2004 19:23:25 +0000 (19:23 +0000)
    Robert Picco  <Robert.Picco@hp.com>

* gdb.texinfo (Packets): Document the "p" packet.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index e67aa41f09caf2c17df43c3ccf9423ad8ef94dfb..e8100451b63cef1e9a189f84fc957d0c79684ff2 100644 (file)
@@ -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
index d2174ec3c629a5ee2a1b04e60fa6f8a8bbb93694..858e0a69a558480f7a3fb022b94202fe0d8b8819 100644 (file)
@@ -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