Clarify language for the '?' packet
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 23 Dec 2020 21:36:16 +0000 (16:36 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Wed, 23 Dec 2020 21:36:48 +0000 (16:36 -0500)
commitf37059ea22267e5b426df1732a2ae7ab45b1d848
treea230e9e3978cb121e9875cd54ae6a23a98b0ea40
parent279d901e5a7a16eb9a3383e316ff4a8d7473d6bd
Clarify language for the '?' packet

Both QEMU and kgdb make the assumption that the '?' packet is only
sent during the initial setup of a gdbstub connection. Both use that
knowledge to reset breakpoints and ensure the gdbstub is in a
clean-state on a resumed connection. This can cause confusion for
others implementing clients that speak to gdbstub devices. To avoid
that make the language clearer that this is a start-up query packet
that you only expect to see once.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
gdb/doc/ChangeLog:

* gdb.texinfo (Packets): Clarify language for ? packet.

Change-Id: Iae25d3110fe28b8d2467704962a6889e55224ca5
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo