domU boot time debugging using xen-gdbserver
Hi All,
I setup a gdb debugging environment for domU correctly using the instructions in tools/debugger/* .
The debugging is useful when the domU is up and running.
I want to trace the startup execution flow of the domU itself. Can this be done using the xen-gdbserver somehow?
Any help will be appreciated.
OTOH, can i debug a HVM guest[a normal linux kernel in this case] using the xen-gdbserver?
thanks
Signature · 5 lines
--
pradeep singh rautela
"question = ( to ) ? be : ! be;"
-- Wm. ShakespeareQuoted 8 lines · pradeep singh rautela
Hi All,
I setup a gdb debugging environment for domU correctly using the instructions in
tools/debugger/*.
The debugging is useful when the domU is up and running.I want to trace the startup execution flow of the domU itself. Can this be done using the xen-gdbserver somehow?
Yes. When you create the domain, start it off as paused, attach, then continue. It should go without saying, but you'll have to compile the kernel with frame pointers which is not the default on Linux.
Quoted 2 lines
OTOH, can i debug a HVM guest[a normal linux kernel in this case] using the xen-gdbserver?
Yes.
-Kip