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] Serial port GDB for Xen debugging

To: Dan Doucette <doucette.daniel@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Serial port GDB for Xen debugging
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 19 Dec 2007 15:03:46 +0000
Delivery-date: Wed, 19 Dec 2007 07:06:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9dd432e50712171157n5daa772cg9de2affed5cb627d@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchCUFpOmOBFRK5DEdymBAAX8io7RQ==
Thread-topic: [Xen-devel] Serial port GDB for Xen debugging
User-agent: Microsoft-Entourage/11.3.6.070618
If you package this up as one or more proper patches, with a signed-off-by line, then they can probably go in the tree with not much work. I took the serial fix immediately.

 -- Keir

On 17/12/07 19:57, "Dan Doucette" <doucette.daniel@xxxxxxxxx> wrote:

If you are interested in debugging the gdb stubs, you can use the '-g X' option to ssplitd.  This will cause it to output the gdb protocol strings.  I found this a bit helpful when getting things working.  You simply specify which serial port stream gdb is on.  For the above example you would specify '-g 0' because gdb is using the 'high-bit-unset' serial stream.
 
The changes required are:

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>