* vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
[deliverable/binutils-gdb.git] / opcodes / s390-dis.c
index f2ab4079ee83c29dc9cdf47cb5b58579d7e1a640..8745a8943739e10960973b7c07eb7aa71489caa5 100644 (file)
@@ -1,5 +1,5 @@
 /* s390-dis.c -- Disassemble S390 instructions
-   Copyright 2000, 2001 Free Software Foundation, Inc.
+   Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
 
    This file is part of GDB, GAS and the GNU binutils.
@@ -29,11 +29,15 @@ static int init_flag = 0;
 static int opc_index[256];
 static int current_arch_mask = 0;
 
+static void init_disasm PARAMS ((struct disassemble_info *));
+static unsigned int s390_extract_operand
+  PARAMS ((unsigned char *, const struct s390_operand *));
+
 /* Set up index table for first opcode byte.  */
 
 static void
 init_disasm (info)
-     struct disassemble_info *info ATTRIBUTE_UNUSED;
+     struct disassemble_info *info;
 {
   const struct s390_opcode *opcode;
   const struct s390_opcode *opcode_end;
@@ -49,10 +53,10 @@ init_disasm (info)
     }
   switch (info->mach)
     {
-    case bfd_mach_s390_esa:
+    case bfd_mach_s390_31:
       current_arch_mask = 1 << S390_OPCODE_ESA;
       break;
-    case bfd_mach_s390_esame:
+    case bfd_mach_s390_64:
       current_arch_mask = 1 << S390_OPCODE_ESAME;
       break;
     default:
This page took 0.023478 seconds and 4 git commands to generate.