This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: info frame
> Date: Mon, 17 Apr 2006 10:58:43 +0200 (CEST)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: nickrob@snap.net.nz, gdb@sources.redhat.com
>
> > > Yes, current GDB uses the convention that the frame address is the
> > > Canonical Frame Address (CFA) as used by the DWARF 2 Call Frame Info
> > > (CFI).
> >
> > Does this mean that, if the debug info is stabs or something other
> > than DWARF 2, a different frame address will be displayed for the same
> > code?
>
> No. All the different unwinders use the same convention.
Don't you glean the information from the debug info? At least for
functions that violate the normal call frame, you probably must, no?