From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: how to debug xen itself? Date: Tue, 27 Dec 2011 12:28:01 +0000 Message-ID: <1324988881.13909.3.camel@dagon.hellion.org.uk> References: <4EF714C9.5010007@gmail.com> <4EF98552.9060205@gmail.com> <20111227110032.GC44631@ocelot.phlegethon.org> <20111227115051.GJ12984@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20111227115051.GJ12984@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pasi =?ISO-8859-1?Q?K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" , Mohamad Rezaei List-Id: xen-devel@lists.xenproject.org On Tue, 2011-12-27 at 11:50 +0000, Pasi K=E4rkk=E4inen wrote: > On Tue, Dec 27, 2011 at 11:00:32AM +0000, Tim Deegan wrote: > > At 12:14 +0330 on 27 Dec (1324988042), Mohamad Rezaei wrote: > > > On 12/25/2011 03:49 PM, Mohamad Rezaei wrote: > > > > hi, > > > > = > > > > I am trying to debug xen hypervisor through gdb, and its kgdb. I ha= ve > > > > compiled xen with these options: --> make debug=3Dy optimize=3D0 > > > > crash_debug=3Dy CMDLINE=3D"console=3Dcom1 gdb=3Dcom1 earlygdb=3Dy" = -j8 > > > > = > > > > I was expecting xen to stop, and wait for my gdb connection through > > > > serial port, but it boots up flawlessly. I am not sure what is my > > > > problem. Should I do something other than that. > > > > = > > > > I am doing this because I want to use debugger to get better view o= f xen > > > > internals. > > > > = > > > Can someone just let me know if I am doing something wrong? > > = > > You asked your question on Christmas Day - most people in Europe and the > > USA are on holiday, so you shouldn't expect an answer to your question. > > = > > I don't use the gdb debugger so I can't help you; I don't think many > > people do, so you may en up debugging the debugger yourself. = > > = > = > Some google-hits: > = > "[Xen-devel] Debugging XEN Hypervisor": > http://old-list-archives.xen.org/archives/html/xen-devel/2009-10/msg00328= .html > = > "[Xen-devel] Debugging XEN Hypervisor": > http://old-list-archives.xen.org/archives/html/xen-devel/2009-09/msg01064= .html > = > "[Xen-devel] kdb does not support XEN?": > http://old-list-archives.xen.org/archives/html/xen-devel/2010-12/msg01519= .html > = > = > Hopefully those help.. As might http://xenbits.xen.org/docs/unstable/misc/crashdb.txt. Mohamad -- if you figure this out please consider updating the above document by posting a patch against xen-unstable.hg docs/misc/crashdb.txt or perhaps by creating a wiki page. Ian. > = > -- Pasi > = > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel