aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 20:11:36 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 20:11:36 +0000
commite6bc2e8af8c291f24dac5ea64202b04920ee7c20 (patch)
treec5218bc24f4c991af75ad345f35fe371caf8c33e /gdb
parentec4045ea2efa5d461a1e6deb9c0b9376314c3952 (diff)
downloadfsf-binutils-gdb-e6bc2e8af8c291f24dac5ea64202b04920ee7c20.zip
fsf-binutils-gdb-e6bc2e8af8c291f24dac5ea64202b04920ee7c20.tar.gz
fsf-binutils-gdb-e6bc2e8af8c291f24dac5ea64202b04920ee7c20.tar.bz2
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (mips_abi_regsize): Declare. * mips-tdep.c (mips_abi_regsize): Make non-static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mips-tdep.c2
-rw-r--r--gdb/mips-tdep.h3
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3527a3b..b7ed601 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index bddf0a3..ea09f95 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 e2bda3f..e90346e 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 */