From: Liu Yu <pedroa.liu@outlook.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: UDK debugger Tool for Qemu under Linux
Date: Thu, 31 May 2018 01:14:58 +0000 [thread overview]
Message-ID: <KL1PR02MB1638E2B2CEB0B49842968D778F630@KL1PR02MB1638.apcprd02.prod.outlook.com> (raw)
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>应用
next reply other threads:[~2018-05-31 1:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 1:14 Liu Yu [this message]
2018-06-01 7:25 ` UDK debugger Tool for Qemu under Linux Ni, Ruiyu
-- strict thread matches above, loose matches on Subject: below --
2018-05-31 0:51 Liu Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=KL1PR02MB1638E2B2CEB0B49842968D778F630@KL1PR02MB1638.apcprd02.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox