Open vineetgarc opened 4 years ago
I've pushed a small patch that adds proper DWARF macros. Still need to add EH code.
Stack unwinding works now !
After the original fix, dwarf info is now being inhibited (elf toolchain) so we are back to square one. I understand this requires some newlib updates but ARCv2 elf toolchain 2020.03 does have unwind info.
currently mdb doesn't show call stack for ARC64 kernel due to missing .ehframe from "C" code despite -fasynchronous-unwind-tables FWIW asm code with hand edited .cfi* seems to work.
There's also jira entry for tracking this: https://jira.internal.synopsys.com/browse/P10019563-41701