openocd
openocd copied to clipboard
rtos/zephyr: arm: fetch arm exc return offset
Since https://github.com/zephyrproject-rtos/zephyr/commit/c3eeae8, Zephyr OS exposes offset of mode_exc_return in the arch struct for ARM.
Accounting for this allows for consistency and enables logic with further offsets that may be added after this.