minor changes to fix build with debug=y debugger=y perfc=y trace=y
PATCH 1/1 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)
Signature · 7 lines
//------------------------------------------------------------// Mike Day [email protected] pgp signature key at: http://www.ncultra.org/md_sigkey.html //------------------------------------------------------------//
xen/arch/x86/pdb-stub.c +1 -0
@@ -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" ;
xen/common/trace.c +1 -0
@@ -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 ;
xen/include/asm-x86/x86_32/regs.h +2 -0
@@ -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. */
Quoted 3 lines
I made these minor changes to build xen-2.0-testing with all debug and counters enabled.
Thanks for that - pushed out to bkbits.
cheers, and happy new year,
S.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt