Hello, Richard, We just noticed the gdb-stub is broken and probably caused by commit 4a3585568 ("target/arm: Plumb debug into S1Translate").
(gdb) target remote :1234 Remote debugging using :1234 0x000000000e1716d0 in ?? () => 0x000000000e1716d0: Cannot access memory at address 0xe1716d0 This issue can be workaround by below change. --- a/target/arm/ptw.c +++ b/target/arm/ptw.c @@ -2879,7 +2879,7 @@ hwaddr arm_cpu_get_phys_page_attrs_debug(CPUState *cs, vaddr addr, S1Translate ptw = { .in_mmu_idx = arm_mmu_idx(env), .in_secure = arm_is_secure(env), - .in_debug = true, + .in_debug = false, }; Could you take a look at this? Thank you! -- Cheers, Changbin Du