[Top][All Lists]

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

Re: GRUB2: Keeping debug symbols in an image

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: GRUB2: Keeping debug symbols in an image
Date: Tue, 21 Feb 2012 13:50:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0

On 21.02.2012 00:16, Adrian Burns wrote:
Hi, i had sent this out to address@hidden but perhaps its best sent to devel

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. So far i see that strip is used in
grub/grub-core/ to strip debug sections from the *.o files
as the build generates the *.mod file (i used readelf to verify this
after commenting out the strip command below) Then in grub-mkimage.c,
the generate_image() function appears to make no attempt to preserve
symbols. Is there a way to tell the build system to leave modules and
images with full symbol table and debugging information?
We don't put any debug symbols to the result image. Use *.image and *.module. They are exact counterpart or *.img and *.mod other than being ELF even if *.img isn't and not having module identication sections.
for the image....has anyone modified grub-mkimage.c to retain debug
symbols in generated image?


Vladimir 'φ-coder/phcoder' Serbinenko

reply via email to

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