This is the mail archive of the gdb@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: Understanding GDB frames


On Tue, May 22, 2007 at 05:05:27PM -0700, Jim Blandy wrote:
> Perhaps the best approach is to use both the return address and the
> entry point in the frame ID.  If either have changed, it's certainly a
> new frame.

I don't think this is worth adding complexity for, honestly.  Sure, it
will catch { foo(); foo(); }, but it won't catch for (i = 0; i < 10;
i++) foo ();.

-- 
Daniel Jacobowitz
CodeSourcery


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