help-grub
[Top][All Lists]
Advanced

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

Re: GRUB2: Keeping debug symbols in an image


From: Jordan Uggla
Subject: Re: GRUB2: Keeping debug symbols in an image
Date: Thu, 16 Feb 2012 16:18:03 -0800

On Mon, Feb 13, 2012 at 2:16 AM, Adrian Burns <address@hidden> wrote:
> Hi,
>
> Im looking for GRUB2's grub-mkimage to produce an efi file for target
> execution along with a matching elf file that has all the debug
> symbols included so that i can use a debugger to step through the
> GRUB2 code.

On EFI, you can't know ahead of time at what address the firmware will
load grub.efi so you can't transform between addresses and symbols.
That means that you simply can't use gdb with [U]EFI, even with debug
symbols included.

What specifically are you trying to debug?

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)



reply via email to

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