|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XenPPC] XenPPC: redundancy definition of __trap_to_gdb with CRASH_DEBUG
Not sure what the redundancy is? I see 2 prototypes and you have added one. please explain. -JX On Oct 3, 2006, at 12:23 PM, Yi Ge wrote: It looks like the compiler's problem: it makes a implicit definition of __trap_to_gdb on the <asm/debugger.h>. This will cause the redundancy definition warning and stop the build process in default compiling setting.diff -r d1f6d0f820d8 xen/include/asm-powerpc/debugger.h--- a/xen/include/asm-powerpc/debugger.h Mon Oct 02 21:43:09 2006 -0400 +++ b/xen/include/asm-powerpc/debugger.h Tue Oct 03 11:49:57 2006 -0400@@ -74,6 +74,10 @@ extern void __warn(char *file, int line) #include <xen/gdbstub.h> +#ifndef TRAP_TO_GDB+extern int __trap_to_gdb(struct cpu_user_regs *regs, unsigned long cookie); _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |