gdbstub: Add syscall entry/return hooks
commit0a0d87c9b851338934f3018e9c18139b6c26f405
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 7 Feb 2024 16:38:10 +0000 (7 16:38 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 9 Feb 2024 17:52:40 +0000 (9 17:52 +0000)
tree5b54ea11efc7d7ab3511e0d8ceb6465b5869646a
parent8b7fcb8ed159d1caeb0b6e5b753b539d65092282
gdbstub: Add syscall entry/return hooks

The upcoming syscall catchpoint support needs to get control on syscall
entry and return. Provide the necessary hooks for that, which are
no-ops for now.

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