gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 7 Feb 2024 16:38:08 +0000 (16:38 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 9 Feb 2024 17:52:40 +0000 (17:52 +0000)
commit4aad096587a28ef967f319279bca78e2b216b7f3
treee88c236e9b39c90181ed771cfa2ee7f4d707d411
parent2df1eb2756658dc2c0e9d739cec6929e74e6c3b0
gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way

The upcoming syscall catchpoint support needs to send SIGTRAP stop
packets to GDB. Being able to compile this support only once for all
targets is a good thing, and it requires hiding TARGET_SIGTRAP behind
a function call.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240202152506.279476-2-iii@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240207163812.3231697-11-alex.bennee@linaro.org>
gdbstub/internals.h
gdbstub/user-target.c