Re: Understanding GDB frames

Daniel Jacobowitz
2007-05-23T00:17:22Z

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