From: "Ni, Ruiyu" <ruiyu.ni@intel.com>
To: Liu Yu <pedroa.liu@outlook.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: UDK debugger Tool for Qemu under Linux
Date: Fri, 1 Jun 2018 07:25:31 +0000 [thread overview]
Message-ID: <734D49CCEBEEF84792F5B80ED585239D5BD20D94@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <KL1PR02MB1638E2B2CEB0B49842968D778F630@KL1PR02MB1638.apcprd02.prod.outlook.com>
Thanks/Ray
> -----Original Message-----
> From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of Liu Yu
> Sent: Thursday, May 31, 2018 9:15 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] UDK debugger Tool for Qemu under Linux
>
> 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'
Then you need to start a new GDB session and type "target remote VM:1234" in GDB.
>
>
> 发送自 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
next prev parent reply other threads:[~2018-06-01 7:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-31 1:14 UDK debugger Tool for Qemu under Linux Liu Yu
2018-06-01 7:25 ` Ni, Ruiyu [this message]
-- 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=734D49CCEBEEF84792F5B80ED585239D5BD20D94@SHSMSX104.ccr.corp.intel.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