Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

On a watchpoint synchronous data abort, how do I determine the data address?

I have code that sets up watchpoints, and handles them in the data abort handler. However, I would like to be able to compute the data address. I have the PC value, but I haven't been able to find a source to tell me the data address. Is this contained in one of the coprocessor's debug registers, or will I have to compute it for all possible combinations of each memory instruction?

(I'm using a v7A processor.)

Parents Reply Children
No data