diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2023-03-02 18:57:57 -0800 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 20:44:08 +0000 |
commit | c566080cd37fe328077a3c49d7fd248ce2a06bfe (patch) | |
tree | 356f3d4dd8d4e3e0303c250c57d1e5cf7f296e87 /softmmu | |
parent | 4ea5fe997db4c5d893b69072f488880c07857a54 (diff) | |
download | qemu-c566080cd37fe328077a3c49d7fd248ce2a06bfe.zip qemu-c566080cd37fe328077a3c49d7fd248ce2a06bfe.tar.gz qemu-c566080cd37fe328077a3c49d7fd248ce2a06bfe.tar.bz2 |
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>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/runstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/runstate.c b/softmmu/runstate.c index 9b3611d..d1e0458 100644 --- a/softmmu/runstate.c +++ b/softmmu/runstate.c @@ -30,7 +30,7 @@ #include "crypto/cipher.h" #include "crypto/init.h" #include "exec/cpu-common.h" -#include "exec/gdbstub.h" +#include "gdbstub/syscalls.h" #include "hw/boards.h" #include "migration/misc.h" #include "migration/postcopy-ram.h" |