diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-10-30 17:53:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-10-30 17:53:47 +0000 |
commit | 0fe7e7c8676c10bca496a84bc54e410bd03c93ef (patch) | |
tree | 8d72a3a5093ef60e01bd4927c8863d0d8820d6ed /gdb/mips-tdep.h | |
parent | 1b295c3d694ca3e6d06cdcba8c886052529a0c4a (diff) | |
download | gdb-0fe7e7c8676c10bca496a84bc54e410bd03c93ef.zip gdb-0fe7e7c8676c10bca496a84bc54e410bd03c93ef.tar.gz gdb-0fe7e7c8676c10bca496a84bc54e410bd03c93ef.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index 768878c..e2bda3f 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 */ |