[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/25] target/arm: Use is_a64 in arm_generate_debug_exceptions
From: |
Richard Henderson |
Subject: |
[PATCH v2 07/25] target/arm: Use is_a64 in arm_generate_debug_exceptions |
Date: |
Mon, 6 Jun 2022 19:47:16 -0700 |
Use the accessor rather than the raw structure member.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/debug_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/arm/debug_helper.c b/target/arm/debug_helper.c
index 20a0e4261a..a18a09a0c3 100644
--- a/target/arm/debug_helper.c
+++ b/target/arm/debug_helper.c
@@ -99,7 +99,7 @@ static bool aa32_generate_debug_exceptions(CPUARMState *env)
*/
bool arm_generate_debug_exceptions(CPUARMState *env)
{
- if (env->aarch64) {
+ if (is_a64(env)) {
return aa64_generate_debug_exceptions(env);
} else {
return aa32_generate_debug_exceptions(env);
--
2.34.1
- [PATCH v2 00/25] target/arm: tidy exception routing, Richard Henderson, 2022/06/06
- [PATCH v2 02/25] target/arm: Add coproc parameter to syn_fp_access_trap, Richard Henderson, 2022/06/06
- [PATCH v2 01/25] target/arm: Mark exception helpers as noreturn, Richard Henderson, 2022/06/06
- [PATCH v2 04/25] target/arm: Move exception_target_el out of line, Richard Henderson, 2022/06/06
- [PATCH v2 05/25] target/arm: Move arm_singlestep_active out of line, Richard Henderson, 2022/06/06
- [PATCH v2 07/25] target/arm: Use is_a64 in arm_generate_debug_exceptions,
Richard Henderson <=
- [PATCH v2 03/25] target/arm: Move fp access syndrome adjust out of raise_exception, Richard Henderson, 2022/06/06
- [PATCH v2 06/25] target/arm: Move arm_generate_debug_exceptions out of line, Richard Henderson, 2022/06/06
- [PATCH v2 08/25] target/arm: Move exception_bkpt_insn to debug_helper.c, Richard Henderson, 2022/06/06
- [PATCH v2 09/25] target/arm: Move arm_debug_exception_fsr to debug_helper.c, Richard Henderson, 2022/06/06
- [PATCH v2 11/25] target/arm: Introduce gen_exception_insn_el_v, Richard Henderson, 2022/06/06