2004-10-30 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 30 Oct 2004 20:11:36 +0000 (20:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 30 Oct 2004 20:11:36 +0000 (20:11 +0000)
* mips-tdep.h (mips_abi_regsize): Declare.
* mips-tdep.c (mips_abi_regsize): Make non-static.

gdb/ChangeLog
gdb/mips-tdep.c
gdb/mips-tdep.h

index 3527a3b..b7ed601 100644 (file)
@@ -1,8 +1,11 @@
 2004-10-30  Andrew Cagney  <cagney@gnu.org>
 
+       * 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  <kettenis@gnu.org>
 
        * i386-sol2-nat.c: New file.
index bddf0a3..ea09f95 100644 (file)
@@ -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)
index e2bda3f..e90346e 100644 (file)
@@ -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 */