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: abefca8e7f957 ("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
/* 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;