This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA] kill a warning: config/powerpc/nm-linux.h
- From: Elena Zannoni <ezannoni at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 19 Nov 2001 23:54:47 -0500
- Subject: [RFA] kill a warning: config/powerpc/nm-linux.h
If you compile ppc-linux native with ,-Werror this would
error out.
OK?
Elena
2001-11-19 Elena Zannoni <ezannoni@redhat.com>
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern
declaration.
Index: nm-linux.h
===================================================================
RCS file: /cvs/uberbaum/gdb/config/powerpc/nm-linux.h,v
retrieving revision 1.8
diff -u -p -r1.8 nm-linux.h
--- nm-linux.h 2001/10/14 20:42:07 1.8
+++ nm-linux.h 2001/11/20 04:45:39
@@ -30,6 +30,7 @@ extern int kernel_u_size (void);
#define U_REGS_OFFSET 0
+extern int ppc_register_u_addr (int, int);
#define REGISTER_U_ADDR(addr, blockend, regno) \
(addr) = ppc_register_u_addr ((blockend),(regno));