From: Philippe Mathieu-Daudé Date: Thu, 18 Apr 2024 12:17:47 +0000 (+0100) Subject: target/sparc: Replace abi_ulong by uint32_t for TARGET_ABI32 X-Git-Tag: pull-vmclock-20250108~347^2~25 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9b21d29acfc9b516c6785e7ca73bff735ebf3d40;p=users%2Fdwmw2%2Fqemu.git 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é Reviewed-by: Richard Henderson Message-Id: <20240418192525.97451-14-philmd@linaro.org> --- 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