diff options
author | Reuben Thomas <rrt@sc3d.org> | 2020-07-22 16:15:29 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2020-07-22 16:15:29 +0100 |
commit | c9fe1b583c3f40abe8d9e03249e8da4348770de2 (patch) | |
tree | a6047ddcd76d44c34fefb23b463fa08e015885d3 /gdb | |
parent | a67a1c41fe4ab9bd8b1dcb7d5f68e080a0e96dfe (diff) | |
download | gdb-c9fe1b583c3f40abe8d9e03249e8da4348770de2.zip gdb-c9fe1b583c3f40abe8d9e03249e8da4348770de2.tar.gz gdb-c9fe1b583c3f40abe8d9e03249e8da4348770de2.tar.bz2 |
Correct an error in the remote protocol specification
The list of commands that a stub must implement was wrong.
gdb/ChangeLog:
2020-07-22 Reuben Thomas <rrt@sc3d.org>
* gdb.texinfo (Remote Protocol, Overview): Correct the description
of which remote protocol commands are mandatory for a stub to
implement.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/doc/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 031e0ef..208c1c4 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2020-07-22 Reuben Thomas <rrt@sc3d.org> + + * gdb.texinfo (Remote Protocol, Overview): Correct the description + of which remote protocol commands are mandatory for a stub to + implement. + 2020-07-20 Ludovic Courtès <ludo@gnu.org> * doc/guile.texi (Guile Introduction): Mention Guile 3.0. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index a002084..3bd8ddf 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -39134,12 +39134,15 @@ For any @var{command} not supported by the stub, an empty response protocol. A newer @value{GDBN} can tell if a packet is supported based on that response. -At a minimum, a stub is required to support the @samp{g} and @samp{G} +At a minimum, a stub is required to support the @samp{?} command to +tell @value{GDBN} the reason for halting, @samp{g} and @samp{G} commands for register access, and the @samp{m} and @samp{M} commands for memory access. Stubs that only control single-threaded targets -can implement run control with the @samp{c} (continue), and @samp{s} -(step) commands. Stubs that support multi-threading targets should -support the @samp{vCont} command. All other commands are optional. +can implement run control with the @samp{c} (continue) command, and if +the target architecture supports hardware-assisted single-stepping, +the @samp{s} (step) command. Stubs that support multi-threading +targets should support the @samp{vCont} command. All other commands +are optional. @node Packets @section Packets |