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