A proposal to align GCC stack
H.J. Lu
hjl@lucon.org
Tue Dec 18 18:05:00 GMT 2007
On Tue, Dec 18, 2007 at 08:47:35AM -0500, Daniel Jacobowitz wrote:
> On Mon, Dec 17, 2007 at 11:25:35PM -0500, Ross Ridge wrote:
> > >// Reserve two stack slots and save return address
> > >// and previous frame pointer into them. By
> > >// pointing new ebp to them, we build a pseudo
> > >// stack for unwinding
> >
> > Hmmm... I don't know much about the DWARF unwind information, but
> > couldn't it handle this case without creating the "pseudo frame"?
> > Or at least be extended so it could?
>
> In practice, there are non-DWARF unwinders scattered all over that
> work on i386 and folks want to keep them working. DWARF has no
> trouble handling this sort of thing.
>
Another thing is we may need to update prolog analyzer in gdb
to support the new prolog.
H.J.
More information about the Gcc
mailing list