On 05/30/16 10:00, Juergen Rall wrote: >> Anyway, I have tried the UDK Debugger once before, between two QEMU >> virtual machines whose serial ports I connected. Unfortunately the setup >> didn't work for me, the initial handshake never seemed to complete >> between the debug agent and the debugger. >> >> For debugging OVMF (and perhaps debugging out-of-tree code running on >> it), in a QEMU virtual machine, you can find a write-up here: >> <https://edk2.bluestop.org/w/tianocore/debugging-with-gdb/>. >> >> Laszlo >> > > I want to debug a EDK2 emulation environment with WINDBG.
Would Nt32Pkg work for you? > As mentioned, the EDK2 OVMF emulation works fine on Windows 10, but when I > try to connect via com0com to WINDBG, initial handshake fails. Its a Windows > environment, so I can't use GDB. I never tried such a setup, but if it involves QEMU's serial port emulation (and I think it does), then in my experience that serial port emulation is not true enough to a physical UART's timings and other properties for the UDK debug agent protocol to work. Thanks Laszlo _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

