This is the mail archive of the gdb-patches@sourceware.org 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: [RFC] Move the frame zero PC check earlier


On Tue, 2006-05-16 at 18:18 -0400, Daniel Jacobowitz wrote:
> On Tue, May 16, 2006 at 11:37:35PM +0200, Mark Kettenis wrote:
. . .
> > And this is exactly the case where I think the jagged end of the
> > backtrace is important.  It indicates that GDB lost track somewhere
> > and that the backtrace can't be trusted.
> 
> I find that the backtrace stopping at a random function is clear
> enough, personally.
> 

The stack, up to where it hit the jagged edge, *can* be trusted.

The trick is to let the user know that there might be more to the
stack, but what GDB has shown so far is valid.


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