aboutsummaryrefslogtreecommitdiff
path: root/opcodes/disassemble.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
committerNick Clifton <nickc@redhat.com>2001-02-10 00:58:38 +0000
commita85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1 (patch)
treed46823b360b1d614fb1c65de41cdc778a68984ff /opcodes/disassemble.c
parent356d255deb0cb49d4dade90addbb7bdcde0d7e36 (diff)
downloadgdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.zip
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.gz
gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.bz2
Add s390 support
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r--opcodes/disassemble.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c
index d031840..ce3b6ad 100644
--- a/opcodes/disassemble.c
+++ b/opcodes/disassemble.c
@@ -50,6 +50,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define ARCH_pj
#define ARCH_powerpc
#define ARCH_rs6000
+#define ARCH_s390
#define ARCH_sh
#define ARCH_sparc
#define ARCH_tic30
@@ -245,6 +246,11 @@ disassembler (abfd)
disassemble = print_insn_rs6000;
break;
#endif
+#ifdef ARCH_s390
+ case bfd_arch_s390:
+ disassemble = print_insn_s390;
+ break;
+#endif
#ifdef ARCH_sh
case bfd_arch_sh:
if (bfd_big_endian (abfd))