On Thursday 18 May 2006 14:27, Lubomir Kundrak wrote: > On Sat, May 13, 2006 at 06:38:26AM +0200, Yoshinori K. Okuji wrote: > > Message-Id: <[EMAIL PROTECTED]> > > > > Great! > > > > I guess it is necessary to compile the binary with -O0 or -O1 to get a > > reasonable backtrace... I'd appreciate if you can write a HOWTO. :) > > On i386 GCC generates full stack frames even with -O optizations. > It only omits frame pointer on architectures on which it doesn't > interfere with debugging.
The problem is not the frame pointers. With -Os, gcc inlines functions used only once. For example, grub_dl_add is eliminated in gcc 4.x. Okuji _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel