Re: Abort backtrace when consecutive zero PCs?

Andrew Cagney
2004-09-15T23:35:38Z

>>>want to reject zero PC followed by a normal
>>>> >(non-signal/dummy) frame, for exactly this reason...
>>
>>>
>>> That sounds like a NULL pointer function call, which is what signull.exp
>>> is all about.
>
>
> "followed" in the other direction. If we unwind a normal frame, and
> the next outer frame has a PC of zero, stop unwinding. We briefly had
> this check for "if the next frame is not the innermost frame" and that
> broke the equivalent of signull.exp; I think I proposed this in follow
> discussion to that.

Ah, now that makes sense.

Andrew