Skip to contentSkip to conversation

fix gdb build error

PATCH New Zhai, Edwin 1 participant 1 message Dec 10, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix gdb build error

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

Signature · 2 lines
best rgds,
edwin
tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in +1 -1
diff -r e7da388ff95d tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/Makefile.in
@@ -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
[email protected]
http://lists.xensource.com/xen-devel