summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-04 11:04:29 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-15 11:55:09 -0300
commite63b5f64eeb3e1632ceb0df607616c0a3fdf9b63 (patch)
treebf8ceca487d7c87d5febffed2a935c79958b0df4
parent39914ae89410d000b2936fa94c1d72edab8bcf06 (diff)
downloadfocaccia-qemu-e63b5f64eeb3e1632ceb0df607616c0a3fdf9b63.tar.gz
focaccia-qemu-e63b5f64eeb3e1632ceb0df607616c0a3fdf9b63.zip
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é <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241004163042.85922-4-philmd@linaro.org>
-rw-r--r--target/alpha/gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/alpha/gdbstub.c b/target/alpha/gdbstub.c
index 13694fd321..bf5091c2a6 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) {