From 857dcde8c285b40f8c80370ff781c9094b031d38 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 14 Aug 1996 08:46:24 +0000 Subject: [PATCH] * config/mips/nm-mips.h (get_longjmp_target): Add prototype. * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. * remote-mips.c (mips_read_processor_type): Remove prototype. * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. * irix5-nat.c (fetch_core_registers): Add prototype. --- gdb/ChangeLog | 8 ++++++++ gdb/config/mips/nm-irix3.h | 1 + gdb/config/mips/nm-mips.h | 1 + gdb/irix5-nat.c | 3 +++ gdb/remote-mips.c | 2 -- 5 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0daaa744fef..22ef88cbdb0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +Tue Aug 13 23:04:36 1996 Fred Fish + + * config/mips/nm-mips.h (get_longjmp_target): Add prototype. + * config/mips/nm-irix3.h (get_longjmp_target): Add prototype. + * remote-mips.c (mips_read_processor_type): Remove prototype. + * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static. + * irix5-nat.c (fetch_core_registers): Add prototype. + Mon Aug 12 21:23:44 1996 Fred Fish * remote-pa.c (boot_board): Add dummy params to make type compatible diff --git a/gdb/config/mips/nm-irix3.h b/gdb/config/mips/nm-irix3.h index 4df2da3129b..3f4b06463c9 100644 --- a/gdb/config/mips/nm-irix3.h +++ b/gdb/config/mips/nm-irix3.h @@ -29,6 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) +extern int get_longjmp_target PARAMS ((CORE_ADDR *)); /* Is this really true or is this just a leftover from a DECstation config file? */ diff --git a/gdb/config/mips/nm-mips.h b/gdb/config/mips/nm-mips.h index 0f49e342466..6418b86ee92 100644 --- a/gdb/config/mips/nm-mips.h +++ b/gdb/config/mips/nm-mips.h @@ -29,3 +29,4 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ This routine returns true on success */ #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) +extern int get_longjmp_target PARAMS ((CORE_ADDR *)); diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index fc4c8cb1042..8bd81f39b7a 100644 --- a/gdb/irix5-nat.c +++ b/gdb/irix5-nat.c @@ -32,6 +32,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #include /* For JB_XXX. */ +static void +fetch_core_registers PARAMS ((char *, unsigned int, int, unsigned int)); + /* Size of elements in jmpbuf */ #define JB_ELEMENT_SIZE 4 diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index f57c47f57bf..37c50d1262c 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -37,8 +37,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include #endif -extern char *mips_read_processor_type PARAMS ((void)); - extern void mips_set_processor_type_command PARAMS ((char *, int)); -- 2.30.2