grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging GRUB2 with GDB and QEMU


From: Lubomir Kundrak
Subject: Re: Debugging GRUB2 with GDB and QEMU
Date: Thu, 18 May 2006 14:27:02 +0200
User-agent: Mutt/1.4.2.1i

On Sat, May 13, 2006 at 06:38:26AM +0200, Yoshinori K. Okuji wrote:
> Message-Id: <address@hidden>
> 
> 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*    <address@hidden>, http://skosi.org/~lkundrak/
 (_)    SKOSI -- Slovak OpenSource Initiative




reply via email to

[Prev in Thread] Current Thread [Next in Thread]