[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] minor changes to fix build with debug=y debugger=y perfc=y trace=y



I made these minor changes to build xen-2.0-testing with all debug and
counters enabled. 

gcc info: 
[mdday@athlon src]$ gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --
infodir=/usr/share/info --enable-shared --enable-threads=posix --
disable-checking --with-system-zlib --enable-__cxa_atexit --disable-
libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

signed-off-by: Mike Day <md@xxxxxxxxxxxxxxx>

-- 
//------------------------------------------------------------//

Mike Day
md@xxxxxxxxxxxxxxx
pgp signature key at: http://www.ncultra.org/md_sigkey.html

//------------------------------------------------------------//



diff -Nurb --exclude SCCS --exclude '*~' --exclude '*.o' 
a/xen/arch/x86/pdb-stub.c b/xen/arch/x86/pdb-stub.c
--- a/xen/arch/x86/pdb-stub.c   2004-12-31 12:52:40.000000000 -0500
+++ b/xen/arch/x86/pdb-stub.c   2004-12-31 12:09:02.807561256 -0500
@@ -21,6 +21,7 @@
 #include <xen/list.h>
 #include <xen/serial.h>
 #include <xen/softirq.h>
+#include <xen/init.h>
 
 /* opt_pdb: Name of serial port for Xen pervasive debugger (and enable pdb) */
 static unsigned char opt_pdb[10] = "none";
diff -Nurb --exclude SCCS --exclude '*~' --exclude '*.o' a/xen/common/trace.c 
b/xen/common/trace.c
--- a/xen/common/trace.c        2004-12-31 12:52:40.000000000 -0500
+++ b/xen/common/trace.c        2004-12-31 13:03:40.157328360 -0500
@@ -27,6 +27,7 @@
 #include <xen/errno.h>
 #include <asm/atomic.h>
 #include <public/dom0_ops.h>
+#include <xen/init.h>
 
 /* opt_tbuf_size: trace buffer size (in pages) */
 static unsigned int opt_tbuf_size = 10;
diff -Nurb --exclude SCCS --exclude '*~' --exclude '*.o' 
a/xen/include/asm-x86/x86_32/regs.h b/xen/include/asm-x86/x86_32/regs.h
--- a/xen/include/asm-x86/x86_32/regs.h 2004-12-31 12:52:40.000000000 -0500
+++ b/xen/include/asm-x86/x86_32/regs.h 2004-12-31 13:12:49.089877928 -0500
@@ -1,6 +1,8 @@
 #ifndef _I386_REGS_H
 #define _I386_REGS_H
 
+#include <asm/types.h>
+
 struct xen_regs
 {
     /* All saved activations contain the following fields. */

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.