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

[Xen-devel] GDB stub for stubdom

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] GDB stub for stubdom
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Thu, 30 Apr 2009 13:37:38 +0200
Delivery-date: Thu, 30 Apr 2009 04:38:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Hi,

Did anybody consider adding some remote debugging facility to stubdom?
Or maybe it's already present?  If not, putting in a GDB remote stub
shouldn't be too hard, though I don't know much about the low level
architecture.  Such code is present in gPXE, for example.

Usage docs: http://www.etherboot.org/wiki/dev/gdbstub
Main code: http://git.etherboot.org/?p=gpxe.git;a=blob;f=src/core/gdbstub.c

The transport could be some Xen specific channel between the stubdom
and dom0 (that would be out of band and hopefully also easy to
implement) translated to/from TCP by a proxy on dom0.

(The official GDB example seems uglier:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/i386-stub.c?cvsroot=src)
-- 
Regards,
Feri.

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

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