Re: [edk2] gdb reload-uefi missing EFI_SYSTEM_TABLE_POINTER [was: Source code debugging of OVMF]

2018-05-24 Thread Johannes Swoboda
by several of you) 3. I got rid of the qemu flag -enable-kvm (it screwed up the stepping in gdb) Thank you very much! Kind regards, Johannes On 2018-04-24 04:13, Gary Lin wrote: > On Fri, Apr 20, 2018 at 04:54:06PM +0200, Johannes Swoboda wrote: >> gdb complained: >>> Python

Re: [edk2] gdb reload-uefi missing EFI_SYSTEM_TABLE_POINTER [was: Source code debugging of OVMF]

2018-04-20 Thread Johannes Swoboda
@redhat.com] On 04/20/18 16:54, Johannes Swoboda wrote: You advised me to use the scripts from [1]. I did so following this guide [2] (thank you also for putting it back up!), with the minor adaptions that I made the script python3-compatible[3], and applied the patches mentioned in [2] manually

[edk2] gdb reload-uefi missing EFI_SYSTEM_TABLE_POINTER [was: Source code debugging of OVMF]

2018-04-20 Thread Johannes Swoboda
Hello, Thank you all for your insights. You advised me to use the scripts from [1]. I did so following this guide [2] (thank you also for putting it back up!), with the minor adaptions that I made the script python3-compatible[3], and applied the patches mentioned in [2] manually. I assume

Re: [edk2] Source code debugging of OVMF

2018-04-20 Thread Johannes Swoboda
s.01.org] On Behalf Of Johannes Swoboda Sent: Monday, April 16, 2018 7:09 AM To: edk2-devel@lists.01.org Cc: clemens.hlausc...@inso.tuwien.ac.at Subject: [edk2] Source code debugging of OVMF Hello everyone, I'm doing a research project on efi security. I would like to do source code debugging of

[edk2] Source code debugging of OVMF

2018-04-16 Thread Johannes Swoboda
Hello everyone, I'm doing a research project on efi security. I would like to do source code debugging of OVMF. I want to step through the OVMF source code, set break points, et cetera, preferably with gdb. I want to debug the overall boot process. Is that possible? I understand I can start