public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* UDK debugger Tool for Qemu under Linux
@ 2018-05-31  0:51 Liu Yu
  0 siblings, 0 replies; 3+ messages in thread
From: Liu Yu @ 2018-05-31  0:51 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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>应用


^ permalink raw reply	[flat|nested] 3+ messages in thread
* UDK debugger Tool for Qemu under Linux
@ 2018-05-31  1:14 Liu Yu
  2018-06-01  7:25 ` Ni, Ruiyu
  0 siblings, 1 reply; 3+ messages in thread
From: Liu Yu @ 2018-05-31  1:14 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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>应用


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-01  7:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-31  0:51 UDK debugger Tool for Qemu under Linux Liu Yu
  -- strict thread matches above, loose matches on Subject: below --
2018-05-31  1:14 Liu Yu
2018-06-01  7:25 ` Ni, Ruiyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox