Skip to contentSkip to conversation

domU boot time debugging using xen-gdbserver

Q pradeep singh rautela 2 participants 2 messages Sep 6, 2007 – Oct 23, 2007

lore
Share & tools
lore
#0 lore raw

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. Shakespeare
#1 lore raw
Quoted 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