aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-01-28 21:58:23 +0000
committerDoug Evans <dje@google.com>1998-01-28 21:58:23 +0000
commit37130f1153da94302ab835e26fdc749c0bd74c87 (patch)
tree8e4b2e2915d933d241e688a040bbb8877d3f94f9 /opcodes/mips-dis.c
parent0040c1e966c3d097547cd24e60459b2c57decff4 (diff)
downloadgdb-37130f1153da94302ab835e26fdc749c0bd74c87.zip
gdb-37130f1153da94302ab835e26fdc749c0bd74c87.tar.gz
gdb-37130f1153da94302ab835e26fdc749c0bd74c87.tar.bz2
* dvp-dis.c, dvp-opc.c: New files.
* configure.in: Compile them if bfd_dvp_arch, as well as mips. * configure: Regenerate. * Makefile.am (ALL_MACHINES): Add dvp-{dis,opc}.lo. (dvp-dis.lo,dvp-opc.lo): Add rules for. (mips-dis.lo): Compile with @archdefs@. * Makefile.in: Regenerate. * disassemble.c: Define ARCH_mips ifdef ARCH_dvp. * mips-dis.c (print_insn_little_mips): Check for DVP insns. plus delete old txvu stuff
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index 7f3a3a1..1e7acc2 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -467,6 +467,16 @@ print_insn_little_mips (memaddr, info)
bfd_byte buffer[4];
int status;
+ /* start-sanitize-sky */
+#ifdef ARCH_dvp
+ if (bfd_mach_dvp_p (info->mach)
+ || (info->flavour == bfd_target_elf_flavour
+ && info->symbol != NULL
+ && MIPS_STO_DVP_P (((elf_symbol_type *) info->symbol)->internal_elf_sym.st_other)))
+ return print_insn_dvp (memaddr, info);
+#endif
+ /* end-sanitize-sky */
+
if (info->mach == 16
|| (info->flavour == bfd_target_elf_flavour
&& info->symbol != NULL