mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
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>
This commit is contained in:
committed by
Alex Bennée
parent
8b7fcb8ed1
commit
0a0d87c9b8
@ -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)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user