grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH][RFC] gdb support in GRUB build system


From: Felix Zielcke
Subject: Re: [PATCH][RFC] gdb support in GRUB build system
Date: Tue, 05 Aug 2008 17:23:11 +0200

Am Dienstag, den 05.08.2008, 08:11 -0700 schrieb Colin D Bennett:
> 
> Interesting.  Well, I think I used the 'load_all_modules' function
> instead of just 'load_modules'.  And IIRC, I first used the GRUB legacy
> floppy image that was provided to chainload GRUB 2 over QEMU's built-in
> tftp, but I think that directly booting GRUB 2 in QEMU for debugging
> did not work... I'll have to try it again to verify that.
> 

The gdb-macros patch on his fedora page[0] has only load_modules where
the help text of it says it loads all symbols.
I didn't try the chainload grub2 with tftp way.
I have used directly a grub2 floppy img for that and it did work for the
functions not in a module.
I didn't make anything special, just recompiled grub2 with that page, we
both updated, and CFLAGS="-O0 -g3"
and then created the grub2_floppy.img

[0] http://fedorapeople.org/~lkundrak/grub2/






reply via email to

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