qemu/target
Alex Bennée c566080cd3 gdbstub: move syscall handling to new file
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>
2023-03-07 20:44:08 +00:00
..
alpha gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
arm gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
avr gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
cris gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
hexagon gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
hppa gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
i386 gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
loongarch gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
m68k gdbstub: move syscall handling to new file 2023-03-07 20:44:08 +00:00
microblaze gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
mips gdbstub: move syscall handling to new file 2023-03-07 20:44:08 +00:00
nios2 gdbstub: move syscall handling to new file 2023-03-07 20:44:08 +00:00
openrisc gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
ppc gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
riscv gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
rx gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
s390x gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
sh4 gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
sparc gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
tricore gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
xtensa gdbstub: move register helpers into standalone include 2023-03-07 20:44:08 +00:00
Kconfig hw/loongarch: Add support loongson3 virt machine type. 2022-06-06 18:09:03 +00:00
meson.build target/loongarch: Add target build suport 2022-06-06 18:09:03 +00:00