diff options
author | Richard Henderson | 2022-06-10 15:32:31 +0200 |
---|---|---|
committer | Peter Maydell | 2022-06-10 15:32:31 +0200 |
commit | 831c1b1087c3aace40a8de36c3780ead81ebbb73 (patch) | |
tree | d2ca2dbc65dddf8d12ecc8931ce8890926537c00 /target | |
parent | target/arm: Move arm_generate_debug_exceptions out of line (diff) | |
download | qemu-831c1b1087c3aace40a8de36c3780ead81ebbb73.tar.gz qemu-831c1b1087c3aace40a8de36c3780ead81ebbb73.tar.xz qemu-831c1b1087c3aace40a8de36c3780ead81ebbb73.zip |
target/arm: Use is_a64 in arm_generate_debug_exceptions
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>
Message-id: 20220609202901.1177572-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target')
-rw-r--r-- | target/arm/debug_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |