From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Zhai, Edwin" Subject: [PATCH] fix gdb build error Date: Wed, 10 Dec 2008 17:12:38 +0800 Message-ID: <493F8806.2060405@intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040303010301020202020906" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers Cc: "Zhai, Edwin" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040303010301020202020906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------040303010301020202020906 Content-Type: text/plain; name="gdbserver_fix.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gdbserver_fix.patch" 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. --------------040303010301020202020906 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040303010301020202020906--