Re: [rfa/mips] Stop backtraces when we've lost the PC

Andrew Cagney
2004-03-11T20:51:50Z

> I hypothesize that if two consecutive frames, regardless of their type,
> claim to save the PC register at the same location, then unwinding is
> hosed.

It would need to do a deep analysis of the location (think about a
register window architecture), hence I don't know that there's that much
cost benefit. Something simpler such as a list of functions known to
terminate the stack might be more useful.

Andrew