# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID acfb1ac23f80286c8b532052f5e4b77f33612636
# Parent  0e83ba62a3a5c3b22ae99ebb6b6b7fe604ddb447
[XEN][POWERPC] Fix compile error in gdbstub.c

With crash_debug=y the compiler can't find a prototype for unimplemented(),
where gdb-arch-read_reg is calling it.

Signed-off-by: Amos Waterland <[EMAIL PROTECTED]>
---
 xen/arch/powerpc/gdbstub.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 0e83ba62a3a5 -r acfb1ac23f80 xen/arch/powerpc/gdbstub.c
--- a/xen/arch/powerpc/gdbstub.c        Fri Sep 22 11:51:56 2006 -0400
+++ b/xen/arch/powerpc/gdbstub.c        Mon Sep 25 11:19:55 2006 -0400
@@ -25,6 +25,7 @@
 #include <asm/msr.h>
 #include <asm/bitops.h>
 #include <asm/cache.h>
+#include <asm/debugger.h>
 #include <asm/processor.h>
 
 asm(".globl trap_instruction\n"

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

Reply via email to