Re: [edk2-devel] Debugging Ovmf with GDB: No symbol is recognized

2024-08-27 Thread Andrew Fish via groups.io
> On Aug 27, 2024, at 1:32 AM, Moon Fault wrote: > > Dear Andrew, > > Thank you for your detailed explanation regarding the behavior of symbol > loading in GDB when debugging OVMF. > > I just want to make sure I’ve understood your points correctly: > > Symbol Loading Timing: The issue I’m f

Re: [edk2-devel] Debugging Ovmf with GDB: No symbol is recognized

2024-08-27 Thread Moon Fault
Dear Andrew, Thank you for your detailed explanation regarding the behavior of symbol loading in GDB when debugging OVMF. I just want to make sure I’ve understood your points correctly: * *Symbol Loading Timing:* The issue I’m facing might occur because I’m connecting to GDB before all the n

Re: [edk2-devel] Debugging Ovmf with GDB: No symbol is recognized

2024-08-26 Thread Andrew Fish via groups.io
I contributed the efi_gdb.py scripts. The gdb scripts figure out the symbols that exist when you connect. They scripts can walk the current frame, or if you are in DXE they can usually figure out the table of all the symbols that got loaded up until this point. But that only represents what was

Re: [edk2-devel] Debugging Ovmf with GDB: No symbol is recognized

2024-08-26 Thread Moon Fault
*Dear Regina König,* I came across your post, regarding the issue with debugging OVMF using GDB where the breakpoints weren't being hit despite loading the symbols correctly. I'm currently facing the exact same problem and was wondering if you were able to find a solution. If you managed to re

Re: [edk2-devel] Debugging Ovmf with GDB: No symbol is recognized

2022-05-23 Thread Oliver Steffen
Hi Regina, I am not sure if I can help you with exactly the approach you are describing. Are you aware of the efi_gdb.py script in BaseToosl/Scripts? This can be used to debug OVMF with Qemu and gdb. See these messages: https://edk2.groups.io/g/devel/message/89621 https://edk2.groups.io/g/devel/m