I’ve attached a patch to gdb that appears to fix the problem with stack backtraces. It contains modifications to or1k_skip_prologue() and or1k_frame_chain(). Caveat: This code does not yet handle the case where a stack frame is larger than 32KB, but the unpatched code didn’t handle this case either.
|