All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Zhai, Edwin" <edwin.zhai@intel.com>
To: Xen Developers <xen-devel@lists.xensource.com>
Cc: "Zhai, Edwin" <edwin.zhai@intel.com>
Subject: [PATCH] fix gdb build error
Date: Wed, 10 Dec 2008 17:12:38 +0800	[thread overview]
Message-ID: <493F8806.2060405@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

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


[-- Attachment #2: gdbserver_fix.patch --]
[-- Type: text/plain, Size: 774 bytes --]

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.

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

                 reply	other threads:[~2008-12-10  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493F8806.2060405@intel.com \
    --to=edwin.zhai@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.