[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] about gdbserver-xen
On 12/05/2010 10:29 PM, topperxin wrote: > hi all > Anybody who have ever use gdbserver-xen debug the domU kernel? > > from the guide of the gdbserver-xen, the domU must start at first, > then at the dom0 we can do just like this: > gdbserver-xen 127.0.0.1:9999 $dom_id > > and then also at dom0: > > gdb vmlinux > > gdb> target romote 127.0.0.1:9999 > > that's ok. > > my question is when I do as above , my domU will crash. another is > since the domU must start at first, if I want to debug the start stage > of the domU kernel , what should I do? who can give me some advice , > thank you very much. Firstly, "gdbsx" is the preferred command for debugging a domain these days ("gdbsx -a <domid> <32|64> <port>"). Secondly, you can start your domain paused ("xl create -p"), attach gdbsx and gdb, set any breakpoints, etc, then start the domain off. J _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |