How unwind ARM Cortex M3 stack
Date : March 29 2020, 07:55 AM
should help you out Very primitive method to unwind the stack in such case is to read all stack memory above SP seen at the time of HardFault_Handler and process it using arm-none-eabi-addr2line. All link register entries saved on stack will be transformed into source line (remember that actual code path goes the line before LR points to). Note, if functions in between were called using branch instruction (b) instead of branch and link (bl) you'll not see them using this method. (I don't have enough reputation points to write comments, so I'm editing my answer):
|
One of two destructors is not called during stack unwind
Date : March 29 2020, 07:55 AM
|
Linux stack resident memory not reclaimed after stack unwind
Date : March 29 2020, 07:55 AM
|
How to unwind the stack to get backtrace for the specified stack pointer (SP)?
Date : March 29 2020, 07:55 AM
|
Simpleperf doesn't unwind stack
Date : March 29 2020, 07:55 AM
|