]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb, doc: mention the 'S' option for the QTDP packet
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 14 Jan 2025 09:10:29 +0000 (10:10 +0100)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Tue, 14 Jan 2025 09:27:57 +0000 (10:27 +0100)
commite68a45754c826032d091434dac5c03680e579bb5
tree9e1b7a45deb1302d0333214956e72fcd3092ea5d
parent6ac02727dc9fd1f4b505a4e8cca30b6c75bd4899
gdb, doc: mention the 'S' option for the QTDP packet

I noticed that gdbserver accepts an 'S' option for the QTDP packet to
create a static tracepoint, but this is not mentioned in the document.
Update the document.

I first thought about updating the argument as `[:Flen|:S]`, but then
opted for `[:Flen][:S]`.  Although it is odd that ':F' and ':S' are
allowed to co-exist, the implementation at the gdbserver side allows
this and handles the packet arguments so that the right-most
positioned ':F' or ':S' overwrites the final tracepoint type.  When
the documentation is missing, the implementation usually determines
the behavior.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
gdb/doc/gdb.texinfo