diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2024-02-07 16:38:10 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-02-09 17:52:40 +0000 |
commit | 0a0d87c9b851338934f3018e9c18139b6c26f405 (patch) | |
tree | 5b54ea11efc7d7ab3511e0d8ceb6465b5869646a /gdbstub | |
parent | 8b7fcb8ed159d1caeb0b6e5b753b539d65092282 (diff) |
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>
Diffstat (limited to 'gdbstub')
-rw-r--r-- | gdbstub/user.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdbstub/user.c b/gdbstub/user.c index 63edca131a..2ba01c17fa 100644 --- a/gdbstub/user.c +++ b/gdbstub/user.c @@ -502,3 +502,11 @@ void gdb_syscall_handling(const char *syscall_packet) gdb_put_packet(syscall_packet); gdb_handlesig(gdbserver_state.c_cpu, 0); } + +void gdb_syscall_entry(CPUState *cs, int num) +{ +} + +void gdb_syscall_return(CPUState *cs, int num) +{ +} |