diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2023-03-02 18:57:56 -0800 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2023-03-07 20:44:08 +0000 |
commit | 4ea5fe997db4c5d893b69072f488880c07857a54 (patch) | |
tree | 8a1b3ff28c3fae82f1b62224619a2f1ead68bcfa /target/mips/tcg/sysemu/mips-semi.c | |
parent | 379b42e8b7681ebea45cde4af8ffd1694f98949d (diff) |
gdbstub: move register helpers into standalone include
These inline helpers are all used by target specific code so move them
out of the general header so we don't needlessly pollute the rest of
the API with target specific stuff.
Note we have to include cpu.h in semihosting as it was relying on a
side effect before.
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-21-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-21-richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/sysemu/mips-semi.c')
-rw-r--r-- | target/mips/tcg/sysemu/mips-semi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/mips/tcg/sysemu/mips-semi.c b/target/mips/tcg/sysemu/mips-semi.c index 85f0567a7f..4e6e759057 100644 --- a/target/mips/tcg/sysemu/mips-semi.c +++ b/target/mips/tcg/sysemu/mips-semi.c @@ -21,6 +21,7 @@ #include "cpu.h" #include "qemu/log.h" #include "exec/gdbstub.h" +#include "gdbstub/helpers.h" #include "semihosting/softmmu-uaccess.h" #include "semihosting/semihost.h" #include "semihosting/console.h" |