diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-18 13:17:47 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-04-26 15:31:37 +0200 |
commit | 9b21d29acfc9b516c6785e7ca73bff735ebf3d40 (patch) | |
tree | 55e6f7260b94ec76c255779e136f8207790814cf /target/sparc/gdbstub.c | |
parent | eedd109525e12f435cf36a4a43e73bc38005caf3 (diff) |
target/sparc: Replace abi_ulong by uint32_t for TARGET_ABI32
We have abi_ulong == uint32_t for the 32-bit ABI.
Use the generic type to avoid to depend on the
"exec/user/abitypes.h" header.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240418192525.97451-14-philmd@linaro.org>
Diffstat (limited to 'target/sparc/gdbstub.c')
-rw-r--r-- | target/sparc/gdbstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/gdbstub.c b/target/sparc/gdbstub.c index 07ea81ab5f..ec0036e9ef 100644 --- a/target/sparc/gdbstub.c +++ b/target/sparc/gdbstub.c @@ -108,7 +108,7 @@ int sparc_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) SPARCCPU *cpu = SPARC_CPU(cs); CPUSPARCState *env = &cpu->env; #if defined(TARGET_ABI32) - abi_ulong tmp; + uint32_t tmp; tmp = ldl_p(mem_buf); #else |