From c9fe1b583c3f40abe8d9e03249e8da4348770de2 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 22 Jul 2020 16:15:29 +0100 Subject: 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 * gdb.texinfo (Remote Protocol, Overview): Correct the description of which remote protocol commands are mandatory for a stub to implement. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 11 +++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'gdb') 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 + + * 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 * 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 -- cgit v1.1