aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.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/disassemble.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/disassemble.c')
-rw-r--r--opcodes/disassemble.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index 0745854..31f6a54 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -46,14 +46,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* start-sanitize-tic80 */
#define ARCH_tic80
/* end-sanitize-tic80 */
-/* start-sanitize-sky */
-#define ARCH_txvu
-/* end-sanitize-sky */
#define ARCH_v850
#define ARCH_w65
#define ARCH_z8k
#endif
+/* start-sanitize-sky */
+#if defined (ARCH_dvp) && ! defined (ARCH_mips)
+#define ARCH_mips
+#endif
+/* end-sanitize-sky */
+
disassembler_ftype
disassembler (abfd)
bfd *abfd;
@@ -205,13 +208,6 @@ disassembler (abfd)
break;
#endif
/* end-sanitize-tic80 */
-/* start-sanitize-sky */
-#ifdef ARCH_txvu
- case bfd_arch_txvu:
- disassemble = print_insn_txvu;
- break;
-#endif
-/* end-sanitize-sky */
#ifdef ARCH_v850
case bfd_arch_v850:
disassemble = print_insn_v850;