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] Re: GDB stub for stubdom

To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: [Xen-devel] Re: GDB stub for stubdom
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Thu, 30 Apr 2009 15:01:13 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 30 Apr 2009 06:01:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1241093552.22119.83.camel@xxxxxxxxxxxxxxxxxxxxxx> (Ian Campbell's message of "Thu, 30 Apr 2009 13:12:32 +0100")
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>
References: <87ab5y4bjx.fsf@xxxxxxxxxxxxx> <1241093552.22119.83.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
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...
-- 
Feri.

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

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