From 0fe7e7c8676c10bca496a84bc54e410bd03c93ef Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 30 Oct 2004 17:53:47 +0000 Subject: 2004-10-30 Andrew Cagney * mips-tdep.h (mips_pc_is_mips16): Declare. * mips-tdep.c (mips_pc_is_mips16): Rename pc_is_mips16, make non-static. Update calls. --- gdb/mips-tdep.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/mips-tdep.h') 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 */ -- cgit v1.1