Abort backtrace when consecutive zero PCs?

Andrew Cagney cagney@gnu.org
Wed Sep 15 23:35:00 GMT 2004


>>>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




More information about the Gdb mailing list