Sorry to send a global mail

Did anyone ever debug uefi program in Qemu with UDK Debugger Tool  under Linux ?

Here is my test step

1.    Build OVMF     -> ./build.sh -a X64 -D SOURCE_DEBUG_ENABLE -t GCC48

2.     Making the name pipe -> mkfifo /tmp/serial.in  mkfifo /tmp/serial.out

3.     Setting UDK Debugger Tool Configure file

[Debug Port]

  Channel = pipe

 Port = /tmp/serial

  … …

4.     ./udk-gdb-server

5.     Qemu-system-x86_64  -bios OVFM.fd -serial pipe:/tmp/serial


Then the debuggee would hang up

Debugger show the information as below:
root@VM:/opt/intel/udkdebugger/bin# ./udk-gdb-server
Intel(R) UEFI Development Kit Debugger Tool Version 1.5.1
Debugging through pipe (/tmp/serial)
Redirect Target output to TCP port (20715)
Debug agent revision: 0.4
GdbServer on VM is waiting for connection on port 1234
Connect with 'target remote VM:1234'



发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to