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. -- Daniel Jacobowitz CodeSourcery