qemu/target/mips/tcg/sysemu
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
..
cp0_helper.c target/mips: Fix WatchHi.M handling 2022-06-11 11:34:12 +02:00
meson.build target/mips: Move Special opcodes to tcg/sysemu/special_helper.c 2021-05-02 16:49:35 +02:00
mips-semi.c gdbstub: move syscall handling to new file 2023-03-07 20:44:08 +00:00
special_helper.c target/mips: Replace tb_pc() with tb->pc 2023-03-01 07:33:17 -10:00
tlb_helper.c bulk: Rename TARGET_FMT_plx -> HWADDR_FMT_plx 2023-01-18 11:14:34 +01:00