diff options
-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 |