summaryrefslogtreecommitdiff
path: root/gdb
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
commit8427d6fce3fb81ee188f9c298abc4bfe85d90cbc (patch)
tree30d2ef0279f1cf06555ccc0b339cc3bcc5f25a6d /gdb
parent58d691ab7b389ecf77b0aaa8bb94dbbb3a29da52 (diff)
downloadgdb-8427d6fce3fb81ee188f9c298abc4bfe85d90cbc.tar.gz
Fix doco on ``!'' and ``R'' packets.
Diffstat (limited to 'gdb')
-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 e34896e787e..921653678cd 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 88b808acd57..46091e1144b 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}