开发者

Zero value of program counter

开发者 https://www.devze.com 2023-01-29 09:28 出处:网络
program counter (PC) has the address of the currently executing instruction or next instruction in line. for ARMV5, its the former case.

program counter (PC) has the address of the currently executing instruction or next instruction in line. for ARMV5, its the former case.

I have encountered the crashes where PC (R15) value is zero. I was wondering if someone can tell me the significance of that. And is there some way (so开发者_Go百科me other register) to find out the address of current instruction.

Any help would be highly appreciated.


Some code probably tried to call a null function-pointer. Check the stack to see where the call came from.


In general (ARM terminology ) it would be a prefetch abort. Means cpu is trying to read (pre-fetch) instruction from illgela address which caused this. you can try to see how tht mem location has become invlid to find out more on the cause !

0

精彩评论

暂无评论...
验证码 换一张
取 消