From: Philippe Mathieu-Daudé Date: Fri, 4 Oct 2024 09:04:29 +0000 (+0200) Subject: target/alpha: Replace ldtul_p() -> ldq_p() X-Git-Tag: v9.2.0-rc0~46^2~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e63b5f64eeb3e1632ceb0df607616c0a3fdf9b63;p=thirdparty%2Fqemu.git target/alpha: Replace ldtul_p() -> ldq_p() The Alpha target is only built for 64-bit. Using ldtul_p() is pointless, replace by ldq_p(). Mechanical change doing: $ sed -i -e 's/ldtul_p/ldq_p/' $(git grep -wl ldtul_p target/alpha/) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20241004163042.85922-4-philmd@linaro.org> --- diff --git a/target/alpha/gdbstub.c b/target/alpha/gdbstub.c index 13694fd321e..bf5091c2a6e 100644 --- a/target/alpha/gdbstub.c +++ b/target/alpha/gdbstub.c @@ -59,7 +59,7 @@ int alpha_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) int alpha_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) { CPUAlphaState *env = cpu_env(cs); - target_ulong tmp = ldtul_p(mem_buf); + target_ulong tmp = ldq_p(mem_buf); CPU_DoubleU d; switch (n) {