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: "Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@xxxxxx>
Subject: [Xen-devel] Re: GDB stub for stubdom
From: Ferenc Wagner <wferi@xxxxxxx>
Date: Thu, 30 Apr 2009 17:45:21 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 30 Apr 2009 08:45:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1241097890.10463.21.camel@marc> (mad@xxxxxx's message of "Thu, 30 Apr 2009 15:24:50 +0200")
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> <87tz462t46.fsf@xxxxxxxxxxxxx> <1241097890.10463.21.camel@marc>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
"Marc - A. Dahlhaus [ Administration | Westermann GmbH ]" <mad@xxxxxx>
writes:

> Am Donnerstag, den 30.04.2009, 15:01 +0200 schrieb Ferenc Wagner:
>
>> 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.

Yes, indeed the README mentions that.  Too bad it required Python.h,
but didn't check for its presence (not even the development version).

Anyway, after fixing this the directory symlink appears, but still:

gcc -c -Wall -g -O2     -I. -I../../../gdb-6.2.1/gdb/gdbserver 
-I../../../gdb-6.2.1/gdb/gdbserver/../regformats 
-I../../../gdb-6.2.1/gdb/gdbserver/../../include  -I../../../../../libxc/ 
-I../../bfd -I../../../gdb-6.2.1/gdb/gdbserver/../../bfd 
../../../gdb-6.2.1/gdb/gdbserver/linux-i386-low.c
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
[...]
make[3]: Leaving directory 
`/home/wferi/xen/xen-3.3.1/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen/gdb/gdbserver'

That is, tools/include/xen/foreign is not amongst the include paths.

I'm persuaded to try the unstable tree, where this works all right.
You (or at least Samuel) won! :)
-- 
Cheers,
Feri.

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

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