aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-21 18:54:44 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-21 18:54:44 +0000
commit8997bd5e3f2a3523c3e113e1a89916a7a42e0257 (patch)
tree910d1dea3213d3534c7015628fbf87f65ac4a916 /gdb/config/mips
parent7c25b72c17fb4647ec34275270088a8f78d41a3b (diff)
downloadgdb-8997bd5e3f2a3523c3e113e1a89916a7a42e0257.zip
gdb-8997bd5e3f2a3523c3e113e1a89916a7a42e0257.tar.gz
gdb-8997bd5e3f2a3523c3e113e1a89916a7a42e0257.tar.bz2
2002-11-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_dump_tdep): Delete references to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. * config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro. (GDB_TARGET_UNMASK_DISAS_PC): Delete macro. * printcmd.c (build_address_symbolic): Delete calls to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. (address_info): Ditto. Fix PR gdb/773.
Diffstat (limited to 'gdb/config/mips')
-rw-r--r--gdb/config/mips/tm-mips.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index ded8e10..d5a9297 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -39,14 +39,6 @@ struct value;
#include "coff/sym.h" /* Needed for PDR below. */
#include "coff/symconst.h"
-/* PC should be masked to remove possible MIPS16 flag */
-#if !defined (GDB_TARGET_MASK_DISAS_PC)
-#define GDB_TARGET_MASK_DISAS_PC(addr) UNMAKE_MIPS16_ADDR(addr)
-#endif
-#if !defined (GDB_TARGET_UNMASK_DISAS_PC)
-#define GDB_TARGET_UNMASK_DISAS_PC(addr) MAKE_MIPS16_ADDR(addr)
-#endif
-
/* Return non-zero if PC points to an instruction which will cause a step
to execute both the instruction at PC and an instruction at PC+4. */
extern int mips_step_skips_delay (CORE_ADDR);