grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3] gdb: Add gdbinfo command for printing the load address of


From: Daniel Kiper
Subject: Re: [PATCH v3] gdb: Add gdbinfo command for printing the load address of the EFI application
Date: Thu, 1 Jun 2023 11:57:05 +0200
User-agent: NeoMutt/20170113 (1.7.2)

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 <pjones@redhat.com>
> Signed-off-by: Peter Jones <pjones@redhat.com>
> Signed-off-by: Glenn Washburn <development@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>

Thanks for adding this feature!

Daniel



reply via email to

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