From df2396a1a3d5b69b12ddcca90cf66d7ab1ce6b40 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 14 Jun 2001 22:10:46 +0000 Subject: [PATCH] Fix doco on ``!'' and ``R'' packets. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 23 +++++++++++++---------- 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 + + * gdb.texinfo (Remote Protocol): Document that the ``!'' packet + returns ``OK''. Document that the ``R'' packet does not reply. + 2001-06-13 Michael Snyder * 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} -- 2.30.2