[PATCH v2 2/8] gdb, doc: mention the 'S' option for the QTDP packet
Eli Zaretskii
eliz@gnu.org
Fri Jan 10 19:04:11 GMT 2025
> From: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
> Date: Fri, 10 Jan 2025 17:01:12 +0100
>
> 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.
> ---
> gdb/doc/gdb.texinfo | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Thanks, this is okay.
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
More information about the Gdb-patches
mailing list