Skip to content
Commit c3eeae80 authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

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: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent 2174501a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment