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/genmod.sh.in 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?