toolchain
toolchain copied to clipboard
[arc64] elf gcc not generating call frame info
currently mdb doesn't show call stack for ARC64 kernel due to missing .eh_frame 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
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.