mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
target/arm: Set debug in attrs in translate_for_debug()
The translate_for_debug method is supposed to return attributes
that include the debug flag being set. We forgot this when
implementing the method for Arm.
Fixes: abefca8e7f ("target/arm: Implement translate_for_debug")
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260515131245.366240-1-peter.maydell@linaro.org
This commit is contained in:
@@ -3961,6 +3961,7 @@ static bool arm_cpu_get_phys_addr(CPUARMState *env, vaddr addr,
|
||||
/* translation succeeded */
|
||||
result->physaddr = res.f.phys_addr;
|
||||
result->attrs = res.f.attrs;
|
||||
result->attrs.debug = 1;
|
||||
result->lg_page_size = res.f.lg_page_size;
|
||||
}
|
||||
return fault;
|
||||
|
||||
Reference in New Issue
Block a user