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

Re: [Xen-devel] Re: GDB stub for stubdom


  • To: Ferenc Wagner <wferi@xxxxxxx>
  • From: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@xxxxxx>
  • Date: Thu, 30 Apr 2009 15:24:50 +0200
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 30 Apr 2009 06:25:20 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Am Donnerstag, den 30.04.2009, 15:01 +0200 schrieb Ferenc Wagner:
> Ian Campbell <Ian.Campbell@xxxxxxxxxx> writes:
> 
> > On Thu, 2009-04-30 at 07:37 -0400, Ferenc Wagner wrote:
> > 
> >> 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.
> >
> > I think gdbserver-xen should be able to debug a stub dom just like any
> > other.
> 
> Thanks, I haven't yet heard about it.  I'd try it if it compiled, but
> apparently I'm missing something (Xen-3.3.1, still :):
> 
> In file included from ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:38:
> ../../../../../libxc/xenctrl.h:36:32: error: xen/foreign/x86_32.h: No such 
> file or directory
> ../../../../../libxc/xenctrl.h:37:32: error: xen/foreign/x86_64.h: No such 
> file or directory
> In file included from ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:38:
> ../../../../../libxc/xenctrl.h:175: error: expected specifier-qualifier-list 
> before âvcpu_guest_context_x86_64_tâ
> ../../../../../libxc/xenctrl.h:184: error: expected specifier-qualifier-list 
> before âshared_info_x86_64_tâ
> ../../../../../libxc/xenctrl.h:193: error: expected specifier-qualifier-list 
> before âstart_info_x86_64_tâ
> ../../../../../libxc/xenctrl.h:966: error: expected declaration specifiers or 
> â...â before âhvmmem_type_tâ
> 
> That foreign directory is definitely not there...

You have to build the rest of the tree first. There should be a README
file... Builds fine here.

Marc


_______________________________________________
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®.