This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Abort backtrace when consecutive zero PCs?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]