From: Mark Williamson Subject: Re: Can I use pdb now? Date: Mon, 3 Dec 2007 03:06:55 +0000 Message-ID: <200712030306.57192.mark.williamson@cl.cam.ac.uk> References: <473752B5.50600@hpcs.cs.tsukuba.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <473752B5.50600@hpcs.cs.tsukuba.ac.jp> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ryo Kanbayashi List-Id: xen-devel@lists.xenproject.org > #please, forgive my lack of words :-) > > I want to debug xen kernel(!= dom0 or domU) with gdb through pdb. > but I've found removing pdb from > codebase(http://xenbits.xensource.com/xen-3.1-testing.hg?rev/80388aea02a1). > > There is still means to use pdb or alternate tool? As far as I know pdb is abandoned. There is a Xen gdb stub in the hypervisor under xen/common/gdbstub.c (there are also arch-specific parts). You'll need another machine and a null modem cable in order to debug Xen. You need to build Xen with "make crash_debug=y" in order to build in support for this. If you have an existing Xen tree you should probably do "make clean" first, to get rid of any stale modules. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!