Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-21 Thread Glenn Washburn
On 3/16/23 21:05, Robbie Harwood wrote: Glenn Washburn writes: On 3/9/23 23:00, Robbie Harwood wrote: Glenn Washburn writes: If the configure option --enable-efi-debug is given, then enable the printing early in EFI startup of the command needed to load symbols for the GRUB EFI kernel. Thi

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-16 Thread Robbie Harwood
Glenn Washburn writes: > On 3/9/23 23:00, Robbie Harwood wrote: >> Glenn Washburn writes: >> >>> If the configure option --enable-efi-debug is given, then enable the >>> printing early in EFI startup of the command needed to load symbols for >>> the GRUB EFI kernel. This is needed because EFI f

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-16 Thread Daniel Kiper
On Wed, Mar 15, 2023 at 03:11:05AM +, Glenn Washburn wrote: > On 3/13/23 12:27, Daniel Kiper wrote: > > On Fri, Mar 10, 2023 at 03:27:13PM -0500, Peter Jones wrote: > > > On Thu, Mar 09, 2023 at 06:00:04PM -0500, Robbie Harwood wrote: > > > > Glenn Washburn writes: > > > > > 2. Why should th

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-14 Thread Glenn Washburn
On 3/13/23 12:27, Daniel Kiper wrote: On Fri, Mar 10, 2023 at 03:27:13PM -0500, Peter Jones wrote: On Thu, Mar 09, 2023 at 06:00:04PM -0500, Robbie Harwood wrote: Glenn Washburn writes: 2. Why should the load command not be printed when secure boot is enabled? * This was also requested

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-14 Thread Glenn Washburn
On 3/9/23 23:00, Robbie Harwood wrote: Glenn Washburn writes: If the configure option --enable-efi-debug is given, then enable the printing early in EFI startup of the command needed to load symbols for the GRUB EFI kernel. This is needed because EFI firmware determines where to load the GRUB

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-13 Thread Daniel Kiper
On Fri, Mar 10, 2023 at 03:27:13PM -0500, Peter Jones wrote: > On Thu, Mar 09, 2023 at 06:00:04PM -0500, Robbie Harwood wrote: > > Glenn Washburn writes: > > > 2. Why should the load command not be printed when secure boot is > > > enabled? > > >* This was also requested by Daniel, I assume

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-10 Thread Peter Jones
On Thu, Mar 09, 2023 at 06:00:04PM -0500, Robbie Harwood wrote: > Glenn Washburn writes: > > 2. Why should the load command not be printed when secure boot is enabled? > >* This was also requested by Daniel, I assume because of infomation > > leakage > > that may be a security concern.

Re: [RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-03-09 Thread Robbie Harwood
Glenn Washburn writes: > If the configure option --enable-efi-debug is given, then enable the > printing early in EFI startup of the command needed to load symbols for > the GRUB EFI kernel. This is needed because EFI firmware determines where > to load the GRUB EFI at runtime, and so the relevan

[RFC PATCH] gdb: Add more support for debugging on EFI platforms

2023-02-27 Thread Glenn Washburn
If the configure option --enable-efi-debug is given, then enable the printing early in EFI startup of the command needed to load symbols for the GRUB EFI kernel. This is needed because EFI firmware determines where to load the GRUB EFI at runtime, and so the relevant addresses are not known ahead o