pradeep singh rautela
2007-Sep-06 06:12 UTC
[Xen-devel] [Q] 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 -- -- pradeep singh rautela "question = ( to ) ? be : ! be;" -- Wm. Shakespeare _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kip Macy
2007-Oct-23 05:15 UTC
Re: [Xen-devel] [Q] domU boot time debugging using xen-gdbserver
On 9/5/07, pradeep singh rautela <rautelap@gmail.com> wrote:> 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.> OTOH, can i debug a HVM guest[a normal linux kernel in this case] > using the xen-gdbserver?Yes. -Kip _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel