qemu-e2k/target/mips/tcg
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
..
sysemu gdbstub: move syscall handling to new file 2023-03-07 20:44:08 +00:00
dsp_helper.c cleanup: Tweak and re-run return_directly.cocci 2022-12-14 16:19:35 +01:00
exception.c target/mips: Replace tb_pc() with tb->pc 2023-03-01 07:33:17 -10:00
fpu_helper.c
ldst_helper.c
lmmi_helper.c Replace config-time define HOST_WORDS_BIGENDIAN 2022-04-06 10:50:37 +02:00
meson.build target/mips: introduce decodetree structure for Cavium Octeon extension 2022-07-12 22:30:09 +02:00
micromips_translate.c.inc target/mips: Honour -semihosting-config userspace=on 2022-09-13 17:18:21 +01:00
mips16e_translate.c.inc target/mips: Drop tcg_temp_free from mips16e_translate.c.inc 2023-03-05 13:44:08 -08:00
msa_helper.c target/mips: Fix store adress of high 64bit in helper_msa_st_b() 2022-06-11 11:34:12 +02:00
msa_helper.h.inc
msa_translate.c target/mips: Fix FTRUNC_S and FTRUNC_U trans helper 2022-06-11 11:34:12 +02:00
msa.decode
mxu_translate.c
nanomips_translate.c.inc target/mips: Don't use tcg_temp_local_new 2023-03-01 07:33:28 -10:00
octeon_translate.c target/mips: implement Octeon-specific arithmetic instructions 2022-07-12 22:30:19 +02:00
octeon.decode target/mips: Cast offset field of Octeon BBIT to int16_t 2022-11-08 01:04:25 +01:00
op_helper.c
rel6_translate.c
rel6.decode
sysemu_helper.h.inc target/mips: Use an exception for semihosting 2022-06-28 10:13:42 +05:30
tcg-internal.h target/mips: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00
trace-events
trace.h
translate_addr_const.c
translate.c target/mips: Don't use tcg_temp_local_new 2023-03-01 07:33:28 -10:00
translate.h target/mips: Advance pc after semihosting exception 2022-08-02 12:34:00 -07:00
tx79_translate.c
tx79.decode
txx9_translate.c
vr54xx_helper.c
vr54xx_helper.h.inc
vr54xx_translate.c target/mips: Fix trans_mult_acc return 2023-03-05 13:44:08 -08:00
vr54xx.decode