summaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-02-23 13:52:23 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-02-23 13:52:23 +0000
commitb29498bb9009889ea620262b7da7a2613fd79484 (patch)
treec028abd778c39b58ca1d40cea0e0e42fc5cf34ad /opcodes/disassemble.c
parentce675a37d58a0175a3008c1f8134da35e7b7f50d (diff)
downloadgdb-b29498bb9009889ea620262b7da7a2613fd79484.tar.gz
Add IBM 370 support.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index b961be330ba..5aaf755b01b 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -1,5 +1,6 @@
/* Select disassembly routine for specified architecture.
- Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 95, 96, 97, 98, 99, 2000
+ Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -28,6 +29,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_h8300
#define ARCH_h8500
#define ARCH_hppa
+#define ARCH_i370
#define ARCH_i386
#define ARCH_i960
#define ARCH_fr30
@@ -121,6 +123,11 @@ disassembler (abfd)
disassemble = print_insn_hppa;
break;
#endif
+#ifdef ARCH_i370
+ case bfd_arch_i370:
+ disassemble = print_insn_i370;
+ break;
+#endif
#ifdef ARCH_i386
case bfd_arch_i386:
if (bfd_get_mach (abfd) == bfd_mach_i386_i386_intel_syntax)