Hello, Is there an example undefined instruction abort handler available? I am causing an undefined instruction exception (purposefully for testing reasons) and I have an assembly code handler which is invoked upon the exception as expected. I would like to figure out the address where the undefined instruction occurred. Currently I look at the LR (R14_UND) and that instruction address is not correct. If I look at the R14_USER register that contains the instruction address I would have expected. In the handler My CPSR mode = 11011 (undefined) as expected.
How would I determine the instruction where my fault occurred in this undefined instruction exception handler?