arch: xtensa: Print backtrace from panic handler
This change uses stack frame to print backtrace once exception occurs Printing backtrace helps to identify the cause of exception Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
This commit is contained in:
parent
774103d050
commit
8b7da334d5
8 changed files with 292 additions and 1 deletions
|
@ -110,6 +110,8 @@
|
|||
rsr.LCOUNT a0
|
||||
s32i a0, a1, BSA_LCOUNT_OFF
|
||||
#endif
|
||||
rsr.exccause a0
|
||||
s32i a0, a1, BSA_EXCCAUSE_OFF
|
||||
#if XCHAL_HAVE_S32C1I
|
||||
rsr.SCOMPARE1 a0
|
||||
s32i a0, a1, BSA_SCOMPARE1_OFF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue