From 4cb0dbef42b8246ddb2c4a354206c717811dd053 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 20 Nov 2001 16:36:44 +0000 Subject: [PATCH] 2001-11-19 Elena Zannoni * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern declaration. --- gdb/ChangeLog | 5 +++++ gdb/config/powerpc/nm-linux.h | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 25f6565..fa569fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2001-11-19 Elena Zannoni + * config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern + declaration. + +2001-11-19 Elena Zannoni + * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of accessing registers[]. (fill_fpregset): Ditto. diff --git a/gdb/config/powerpc/nm-linux.h b/gdb/config/powerpc/nm-linux.h index d919d8e..e9e6abd 100644 --- a/gdb/config/powerpc/nm-linux.h +++ b/gdb/config/powerpc/nm-linux.h @@ -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)); -- 2.7.4