We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
When I set a on-chip breakpoint with MMU enabled, virtual address is 0xcc000000 ( real physical address is 0xbb000000)for example. Once the MMU map changed, when the breakpoint would be hit, new virtual address is 0xcc000000 or the physical address 0xbb000000 . In other word, watchpoint address comparator is "before" mmu or "after"mmu? Or it depends on ARM version?
Thanks in advance.
Hardware breakpoints are set against virtual addresses. So if you change the mappings (i.e. update the translation tables) the breakpoint still targets the same virtual address.