]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub: Allow specifying a reason in stop packets
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 7 Feb 2024 16:38:09 +0000 (16:38 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 9 Feb 2024 17:52:40 +0000 (17:52 +0000)
commit8b7fcb8ed159d1caeb0b6e5b753b539d65092282
treee0e5cfa907a3fb4f8f751856e80b00eeb6ddcf77
parent4aad096587a28ef967f319279bca78e2b216b7f3
gdbstub: Allow specifying a reason in stop packets

The upcoming syscall catchpoint support needs to send stop packets with
an associated reason to GDB. Add an extra parameter to gdb_handlesig()
for that, and rename it to gdb_handlesig_reason(). Provide a
compatibility wrapper with an old name.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240202152506.279476-3-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240207163812.3231697-12-alex.bennee@linaro.org>
gdbstub/user.c
include/gdbstub/user.h