Re: [edk2-devel] Debug OVMF

2022-05-09 Thread Andrew Fish via groups.io
Sebastien, The UEFI ROMs generally contain sets of PE/COFF images (drivers, apps, etc) that execute not at their linked address. These PE/COFF images have been stripped of debug information and optionally contain a PE/COFF debug directory entry that points to a file that contains the debug

Re: [edk2-devel] Debug OVMF

2022-05-09 Thread Boeuf, Sebastien
On Mon, 2022-05-09 at 11:49 +0200, kra...@redhat.com wrote: > On Mon, May 09, 2022 at 09:32:52AM +, Boeuf, Sebastien wrote: > > Hi, > > > > I'm trying to debug OVMF with gdb connected to Cloud Hypervisor but > > the > > problem is that the debug binary that I have generated doesn't > >

Re: [edk2-devel] Debug OVMF

2022-05-09 Thread Gerd Hoffmann
On Mon, May 09, 2022 at 09:32:52AM +, Boeuf, Sebastien wrote: > Hi, > > I'm trying to debug OVMF with gdb connected to Cloud Hypervisor but the > problem is that the debug binary that I have generated doesn't contain > any symbols. Do you know how to generate debug symbols for OVMF?

[edk2-devel] Debug OVMF

2022-05-09 Thread Boeuf, Sebastien
Hi, I'm trying to debug OVMF with gdb connected to Cloud Hypervisor but the problem is that the debug binary that I have generated doesn't contain any symbols. Do you know how to generate debug symbols for OVMF? Thanks, Sebastien