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. I started a small HOWTO recently, so here is it: [1]. Enjoy :o) [1] http://NetBSD.sk/~lkundrak/misc/grub2-gdb/howto.html > > Okuji Lubo -- o Lubomir Kundrak *O* <[EMAIL PROTECTED]>, http://skosi.org/~lkundrak/ (_) SKOSI -- Slovak OpenSource Initiative _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel