This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb code review, pointer madness
On Thu, Jan 26, 2006 at 10:17:41AM -0600, NZG wrote:
> So, if frame 0 is actually the lowest level frame,
> would it be correct to say that
>
> for frame->level=0
> frame->this_id->value->stack_addr =0
>
> for all time?
> Or is this an overgeneralization.
You should try GDB on some other target to see how this works.
Frame 0 is the innermost (i.e. current) frame. It unwinds to frame #1.
--
Daniel Jacobowitz
CodeSourcery