summaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-10-30 17:53:47 +0000
committerAndrew Cagney <cagney@redhat.com>2004-10-30 17:53:47 +0000
commit0fe7e7c8676c10bca496a84bc54e410bd03c93ef (patch)
tree8d72a3a5093ef60e01bd4927c8863d0d8820d6ed /gdb/mips-tdep.h
parent1b295c3d694ca3e6d06cdcba8c886052529a0c4a (diff)
2004-10-30 Andrew Cagney <cagney@gnu.org>
* mips-tdep.h (mips_pc_is_mips16): Declare. * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make non-static. Update calls.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r--gdb/mips-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index 768878c245..e2bda3fb69 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -91,4 +91,8 @@ enum mips_insn_size
/* Single step based on where the current instruction will take us. */
extern void mips_software_single_step (enum target_signal, int);
+/* Tell if the program counter value in MEMADDR is in a MIPS16
+ function. */
+extern int mips_pc_is_mips16 (bfd_vma memaddr);
+
#endif /* MIPS_TDEP_H */