Unable to get a stack trace inside newlib?
I'm working on getting stack traces from my data abort handler. I've managed to successfully recover the machine state and give it to __gnu_Unwind_
If I do something like fputs("hello", NULL) (perhaps fopen failed for some reason and my users didn't error check the result), I don't get a stack trace. I can only get the instruction inside _fputs_r that was the first to try to dereference the fp. That's not super helpful for my users.
I did a bit of digging and discovered that libc.a doesn't have any unwinding information. I used arm-none-
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: