aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-14 22:10:46 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-14 22:10:46 +0000
commitdf2396a1a3d5b69b12ddcca90cf66d7ab1ce6b40 (patch)
treeeeba620bb1b029c9a7be530d6c825edeebfbbdcc /gdb/doc
parent3e890047742a6c96a421700d536a260bcc12a8ec (diff)
downloadgdb-df2396a1a3d5b69b12ddcca90cf66d7ab1ce6b40.zip
gdb-df2396a1a3d5b69b12ddcca90cf66d7ab1ce6b40.tar.gz
gdb-df2396a1a3d5b69b12ddcca90cf66d7ab1ce6b40.tar.bz2
Fix doco on ``!'' and ``R'' packets.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo23
2 files changed, 18 insertions, 10 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index e34896e..9216536 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-14 Andrew Cagney <ac131313@redhat.com>
+
+ * gdb.texinfo (Remote Protocol): Document that the ``!'' packet
+ returns ``OK''. Document that the ``R'' packet does not reply.
+
2001-06-13 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 88b808a..46091e1 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -9778,17 +9778,16 @@ their corresponding response @var{data}:
@tab Request
@tab Description
-@item extended ops
+@item extended mode
@tab @code{!}
@tab
-Use the extended remote protocol. Sticky---only needs to be set once.
-The extended remote protocol supports the @samp{R} packet.
+Enable extended mode. In extended mode, the remote server is made
+persistent. The (@samp{R}) packet is used to restart the program being
+debugged.
@item
-@tab reply @samp{}
+@tab reply @samp{OK}
@tab
-Stubs that support the extended remote protocol return @samp{} which,
-unfortunately, is identical to the response returned by stubs that do not
-support protocol extensions.
+The remote target both supports and has enabled extended mode.
@item last signal
@tab @code{?}
@@ -10081,9 +10080,13 @@ Reset the entire system.
@item remote restart
@tab @code{R}@var{XX}
@tab
-Restart the remote server. @var{XX} while needed has no clear
-definition. FIXME: @emph{An example interaction explaining how this
-packet is used in extended-remote mode is needed}.
+Restart the program being debugged. @var{XX}, while needed, is ignored.
+This packet is only available in extended mode.
+@item
+@tab
+no reply
+@tab
+The @samp{R} packet has no reply.
@item step
@tab @code{s}@var{addr}