zephyr/subsys/debug
Jordan Yates c3eeae80ec debug: thread_info: store arch mode_exc_return offset
Store the offset of mode_exc_return in the arch struct. This is required
to restore the link register to the original value, as `swap_helper.S`
saves the LSB to this field when `CONFIG_ARM_STORE_EXC_RETURN=y`.

Failing to account for this results in broken debugging when
`FPU_SHARING` or `ARM_NONSECURE_PREEMPTIBLE_SECURE_CALLS`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
2022-10-28 11:51:15 +02:00
..
coredump
gdbstub
asan_hacks.c
CMakeLists.txt
gdbstub_backend.h
gdbstub.c
Kconfig
thread_analyzer.c
thread_info.c debug: thread_info: store arch mode_exc_return offset 2022-10-28 11:51:15 +02:00