mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
31c8df53ee
commit
831c1b1087
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue