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] [PATCH] fix gdb build error

To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] fix gdb build error
From: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Date: Wed, 10 Dec 2008 17:12:38 +0800
Cc: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Delivery-date: Wed, 10 Dec 2008 01:13:04 -0800
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: Thunderbird 2.0.0.17 (X11/20080914)
This patch fix the build error @ tools/debugger/gdb


============== error mesg =====================
In file included from ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:38:
../../../../../libxc/xenctrl.h:595: error: syntax error before "xc_cpuinfo_t" ../../../../../libxc/xenctrl.h:595: warning: type defaults to `int' in declaration of `xc_cpuinfo_t' ../../../../../libxc/xenctrl.h:595: warning: data definition has no type or storage class ../../../../../libxc/xenctrl.h:597: error: syntax error before "xc_cpuinfo_t"
../../../../../libxc/xenctrl.h:818: error: syntax error before "flask_op_t"
../../../../../libxc/xenctrl.h:972: error: syntax error before "hvmmem_type_t" ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:659: warning: 'linux_set_inferior' defined but not used

--
best rgds,
edwin

diff -r e7da388ff95d 
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in
--- a/tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in Thu Nov 
20 14:23:59 2008 +0000
+++ b/tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in Tue Nov 
25 15:41:39 2008 +0800
@@ -83,7 +83,7 @@ READLINE_DEP = $$(READLINE_DIR)
 # -I. for config files.
 # -I${srcdir} for our headers.
 # -I$(srcdir)/../regformats for regdef.h.
-INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../regformats -I$(INCLUDE_DIR)  
-I../../../../../libxc/
+INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../regformats -I$(INCLUDE_DIR)  
-I../../../../../libxc/ -I../../../../../include/
 
 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
 # from the config/ directory.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix gdb build error, Zhai, Edwin <=