[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 28/28] include/exec: fix softmmu version of TARGET_ABI_FMT_lx
From: |
Alex Bennée |
Subject: |
[PULL 28/28] include/exec: fix softmmu version of TARGET_ABI_FMT_lx |
Date: |
Wed, 9 Feb 2022 14:15:29 +0000 |
TARGET_ABI_FMT_lx isn't available for softmmu which causes confusion
when trying to print. As abi_ptr == target_ulong use its format string
instead.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
diff --git a/include/exec/cpu_ldst.h b/include/exec/cpu_ldst.h
index a878fd0105..da987fe8ad 100644
--- a/include/exec/cpu_ldst.h
+++ b/include/exec/cpu_ldst.h
@@ -121,7 +121,7 @@ static inline bool guest_range_valid_untagged(abi_ulong
start, abi_ulong len)
})
#else
typedef target_ulong abi_ptr;
-#define TARGET_ABI_FMT_ptr TARGET_ABI_FMT_lx
+#define TARGET_ABI_FMT_ptr TARGET_FMT_lx
#endif
uint32_t cpu_ldub_data(CPUArchState *env, abi_ptr ptr);
--
2.30.2
- [PULL 12/28] docs/devel: mention our .editorconfig, (continued)
- [PULL 12/28] docs/devel: mention our .editorconfig, Alex Bennée, 2022/02/09
- [PULL 17/28] docs: remove references to TCG tracing, Alex Bennée, 2022/02/09
- [PULL 08/28] drop libxml2 checks since libxml is not actually used (for parallels), Alex Bennée, 2022/02/09
- [PULL 11/28] tests/lcitool: Install libibumad to cover RDMA on Debian based distros, Alex Bennée, 2022/02/09
- [PULL 10/28] tests: Manually remove libxml2 on MSYS2 runners, Alex Bennée, 2022/02/09
- [PULL 21/28] plugins: add helper functions for coverage plugins, Alex Bennée, 2022/02/09
- [PULL 26/28] plugins: move reset of plugin data to tb_start, Alex Bennée, 2022/02/09
- [PULL 15/28] tests: Update CentOS 8 container to CentOS Stream 8, Alex Bennée, 2022/02/09
- [PULL 19/28] tracing: remove the trace-tcg includes from the build, Alex Bennée, 2022/02/09
- [PULL 28/28] include/exec: fix softmmu version of TARGET_ABI_FMT_lx,
Alex Bennée <=
- [PULL 27/28] linux-user: Remove the deprecated ppc64abi32 target, Alex Bennée, 2022/02/09
- [PULL 16/28] tests/tcg/sh4: disable another unreliable test, Alex Bennée, 2022/02/09
- [PULL 20/28] tracing: excise the tcg related from tracetool, Alex Bennée, 2022/02/09
- [PULL 13/28] gitlab: fall back to commit hash in qemu-setup filename, Alex Bennée, 2022/02/09
- [PULL 18/28] tracing: remove TCG memory access tracing, Alex Bennée, 2022/02/09
- [PULL 25/28] target/i386: use CPU_LOG_INT for IRQ servicing, Alex Bennée, 2022/02/09
- Re: [PULL 00/28] testing and plugin updates, Peter Maydell, 2022/02/12