On 02/29/2016 07:50 AM, Jose E. Marchesi wrote: > The backtrace(3) implementation for sparc contains a simple unwinder > that works well in most cases, but that unwinder is not used if > libgcc_s.so can be dlopened and it provides _Unwind_Backtrace.
There's no reason that simple unwinder can't be put into MD_FALLBACK_FRAME_STATE_FOR. Currently we only use that for unwinding through signal stacks, but it could be used for anything that the dwarf2 unwinder doesn't have data for. Given sparc register windows, this seems particularly reliable. r~