diff options
| author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2025-05-12 11:04:22 -0700 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2025-05-14 15:12:40 +0100 |
| commit | 07e13d5fb5d289d4ae758cfd1f77356052789ad2 (patch) | |
| tree | 696af4ebff6961c6723c9ad4ab47ecbf549c68ad | |
| parent | 911a63dd25bf1f244ff8561f800a25b8033fbc87 (diff) | |
| download | focaccia-qemu-07e13d5fb5d289d4ae758cfd1f77356052789ad2.tar.gz focaccia-qemu-07e13d5fb5d289d4ae758cfd1f77356052789ad2.zip | |
target/arm/cpu: remove TARGET_AARCH64 around aarch64_cpu_dump_state common
Call is guarded by is_a64(env), so it's safe to expose without needing to assert anything. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20250512180502.2395029-9-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
| -rw-r--r-- | target/arm/cpu.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/target/arm/cpu.c b/target/arm/cpu.c index c7e00e6432..ec9bc72c3d 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -1182,8 +1182,6 @@ static void arm_disas_set_info(CPUState *cpu, disassemble_info *info) #endif } -#ifdef TARGET_AARCH64 - static void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) { ARMCPU *cpu = ARM_CPU(cs); @@ -1341,15 +1339,6 @@ static void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) } } -#else - -static inline void aarch64_cpu_dump_state(CPUState *cs, FILE *f, int flags) -{ - g_assert_not_reached(); -} - -#endif - static void arm_cpu_dump_state(CPUState *cs, FILE *f, int flags) { ARMCPU *cpu = ARM_CPU(cs); |