diff options
author | Dominik 'Disconnect3d' Czarnota <dominik.b.czarnota@gmail.com> | 2025-06-03 12:02:03 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2025-06-07 16:40:44 +0100 |
commit | b2654598b3330aaa58ab0cec2114843bfa96ddaa (patch) | |
tree | 1e5083ea172cd74a29aee0193da587ae04643fd1 /rust/qemu-api-macros/src | |
parent | 3bb69b1953c1a829152ff5c2599269bc129e05ea (diff) | |
download | qemu-b2654598b3330aaa58ab0cec2114843bfa96ddaa.zip qemu-b2654598b3330aaa58ab0cec2114843bfa96ddaa.tar.gz qemu-b2654598b3330aaa58ab0cec2114843bfa96ddaa.tar.bz2 |
gdbstub: Implement qGDBServerVersion packet
This commit adds support for the `qGDBServerVersion` packet to the qemu
gdbstub which could be used by clients to detect the QEMU version
(and, e.g., use a workaround for known bugs).
This packet is not documented/standarized by GDB but it was implemented
by LLDB gdbstub [0] and is helpful for projects like Pwndbg [1].
This has been implemented by Patryk, who I included in Co-authored-by
and who asked me to send the patch.
[0] https://lldb.llvm.org/resources/lldbgdbremote.html#qgdbserverversion
[1] https://github.com/pwndbg/pwndbg/issues/2648
Co-authored-by: Patryk 'patryk4815' Sondej <patryk.sondej@gmail.com>
Signed-off-by: Dominik 'Disconnect3d' Czarnota <dominik.b.czarnota@gmail.com>
Message-Id: <20250403191340.53343-1-dominik.b.czarnota@gmail.com>
[AJB: fix include, checkpatch linewrap]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20250603110204.838117-17-alex.bennee@linaro.org>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions