On 11/13/14 00:22, Andrew Fish wrote:
> 
>> On Nov 12, 2014, at 2:26 PM, Jordan Justen <jordan.l.jus...@intel.com> wrote:
>> Too bad the DebugAgent isn't actually useful for all the trouble it
>> causes. :)
> 
> 1st question what is wrong with the DebugAgent? Why is int not useful?

There's nothing wrong with it, it's just that I never managed to use it
without installing windows and WinDbg on a *physical* host. I had
performed a very elaborate experiment earlier, setting up two virtual
machines (with qemu) in the same host, connecting their emulated serial
ports via a unix domain socket, running OVMF in one, and windbg (or the
dedicated UDK debugger, can't really recall) in the other -- and the
serial handshake with the debug agent never completed. There was some
traffic, yes, but the protocol failed to sync up.

> 2nd question why are you using the DebugAgent, when you could just use the 
> QEMU built in gdb stub?

I tried that too. First, loading the appropriate symbols in the gdb
frontend is very painful. Second, the debugging experience is unstable.
In my ad-hoc testing I managed to peek at a few variables and get
backtraces, so I thought it was all fine, but the first time I wanted to
use it for *real* debugging, the guest running OVMF just died.

Debugging OVMF using Linux tools remains a pain.

Laszlo

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to