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]>

---

 gdbstub.c |    1 +
 1 file changed, 1 insertion(+)

diff -r 0e83ba62a3a5 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        Fri Sep 22 14:19:11 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