[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] GDB stub for stubdom


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Ferenc Wagner <wferi@xxxxxxx>
  • Date: Thu, 30 Apr 2009 13:37:38 +0200
  • Delivery-date: Thu, 30 Apr 2009 04:38:07 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.