Msg/IntrClobberedRA: Difference between revisions
From CPUlator Wiki
< Msg
< Msg
Created page with "An interrupt should normally return to the instruction that was interrupted. This message tells you that this didn't happen: the function return is returning somewhere other t..." |
No edit summary |
||
Line 7: | Line 7: | ||
The simulator identifies interrupts and return-from-interrupt instructions executed at runtime. It records the values of registers at interrupts, and verifies that return address of the interrupt return. This warning is generated at the interrupt return instruction. | The simulator identifies interrupts and return-from-interrupt instructions executed at runtime. It records the values of registers at interrupts, and verifies that return address of the interrupt return. This warning is generated at the interrupt return instruction. | ||
{{DisableMsg| | {{DisableMsg|Interrupt clobbered ea, ra, sp, or a ctl reg}} | ||
ARMv7: <b>Interrupt clobbered sp or spsr, or bad return</b> |
Latest revision as of 06:17, 10 March 2019
An interrupt should normally return to the instruction that was interrupted. This message tells you that this didn't happen: the function return is returning somewhere other than the interrupt instruction.
Debugging
See Msg/ClobberedRA, which is a similar warning for functions.
Implementation
The simulator identifies interrupts and return-from-interrupt instructions executed at runtime. It records the values of registers at interrupts, and verifies that return address of the interrupt return. This warning is generated at the interrupt return instruction.
Disabling this message
This debugging check can be disabled in the Debugging Checks section of the Settings box: Interrupt clobbered ea, ra, sp, or a ctl reg.
ARMv7: Interrupt clobbered sp or spsr, or bad return