zephyrproject-rtos / openocd

OpenOCD with Zephyr patches for building Zephyr SDK
Other
28 stars 45 forks source link

rtos/zephyr: arm: fetch arm exc return offset #57

Open bdmendes opened 1 year ago

bdmendes commented 1 year ago

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.

bdmendes commented 1 year ago

This is now under review in upstream: https://review.openocd.org/c/openocd/+/7851