c566080cd3
Our GDB syscall support is the last chunk of code that needs target specific support so move it to a new file. We take the opportunity to move the syscall state into its own singleton instance and add in a few helpers for the main gdbstub to interact with the module. I also moved the gdb_exit() declaration into syscalls.h as it feels pretty related and most of the callers of it treat it as such. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230302190846.2593720-22-alex.bennee@linaro.org> Message-Id: <20230303025805.625589-22-richard.henderson@linaro.org> |
||
---|---|---|
.. | ||
arm | ||
freebsd | ||
host | ||
i386 | ||
include | ||
netbsd | ||
openbsd | ||
x86_64 | ||
bsd-file.h | ||
bsd-proc.h | ||
bsdload.c | ||
elfcore.c | ||
elfload.c | ||
errno_defs.h | ||
main.c | ||
meson.build | ||
mmap.c | ||
qemu.h | ||
signal-common.h | ||
signal.c | ||
strace.c | ||
syscall_defs.h | ||
trace-events | ||
trace.h | ||
uaccess.c |