diff --git a/arch/arm/core/fault.c b/arch/arm/core/fault.c index 7352ac1fa7..3a151510b9 100644 --- a/arch/arm/core/fault.c +++ b/arch/arm/core/fault.c @@ -737,7 +737,7 @@ static void SecureStackDump(const NANO_ESF *secure_esf) */ top_of_sec_stack += ADDITIONAL_STATE_CONTEXT_WORDS; secure_esf = (const NANO_ESF *)top_of_sec_stack; - sec_ret_addr = secure_esf->pc; + sec_ret_addr = secure_esf->basic.pc; } else { /* Exception during Non-Secure function call. * The return address is located on top of stack.