From e6bc2e8af8c291f24dac5ea64202b04920ee7c20 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 30 Oct 2004 20:11:36 +0000 Subject: [PATCH] 2004-10-30 Andrew Cagney * mips-tdep.h (mips_abi_regsize): Declare. * mips-tdep.c (mips_abi_regsize): Make non-static. --- gdb/ChangeLog | 5 ++++- gdb/mips-tdep.c | 2 +- gdb/mips-tdep.h | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3527a3ba3ae..b7ed6015aa1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,8 +1,11 @@ 2004-10-30 Andrew Cagney + * mips-tdep.h (mips_abi_regsize): Declare. + * mips-tdep.c (mips_abi_regsize): Make non-static. + * mips-tdep.c (gdb_print_insn_mips): Simplify. (make_mips16_addr): Delete. - + 2004-10-30 Mark Kettenis * i386-sol2-nat.c: New file. diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index bddf0a37289..ea09f959950 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -259,7 +259,7 @@ mips_isa_regsize (struct gdbarch *gdbarch) static const char *mips_abi_regsize_string = size_auto; -static unsigned int +unsigned int mips_abi_regsize (struct gdbarch *gdbarch) { if (mips_abi_regsize_string == size_auto) diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index e2bda3fb69c..e90346e9877 100644 --- a/gdb/mips-tdep.h +++ b/gdb/mips-tdep.h @@ -95,4 +95,7 @@ extern void mips_software_single_step (enum target_signal, int); function. */ extern int mips_pc_is_mips16 (bfd_vma memaddr); +/* Return the currently configured (or set) saved register size. */ +extern unsigned int mips_abi_regsize (struct gdbarch *gdbarch); + #endif /* MIPS_TDEP_H */ -- 2.30.2