On Wed, May 31, 2023 at 11:25:55PM -0500, Glenn Washburn wrote: > EFI firmware determines where to load the GRUB EFI at runtime, and so the > addresses of debug symbols are not known ahead of time. There is a command > defined in the gdb_grub script which will load the debug symbols at the > appropriate addresses, if given the application load address for GRUB. > So add a command named "gdbinfo" to allow the user to print this GDB command > string with the application load address on-demand. For the outputted GDB > command to have any effect when entered into a GDB session, GDB should have > been started with the script as an argument to the -x option or sourced into > an active GDB session before running the outputted command. > > Documentation for the gdbinfo command is also added. > > Co-developed-by: Peter Jones <pjo...@redhat.com> > Signed-off-by: Peter Jones <pjo...@redhat.com> > Signed-off-by: Glenn Washburn <developm...@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com> Thanks for adding this feature! Daniel _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel