WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Can I use pdb now?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Can I use pdb now?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 3 Dec 2007 03:06:55 +0000
Cc: Ryo Kanbayashi <kanbayashi@xxxxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 02 Dec 2007 19:07:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <473752B5.50600@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <473752B5.50600@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
> #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!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>