From: Andrew Cagney Date: Sat, 30 Oct 2004 20:11:36 +0000 (+0000) Subject: 2004-10-30 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6bc2e8af8c291f24dac5ea64202b04920ee7c20;p=binutils-gdb.git 2004-10-30 Andrew Cagney * mips-tdep.h (mips_abi_regsize): Declare. * mips-tdep.c (mips_abi_regsize): Make non-static. --- 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 */