2001-07-05 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / opcodes / fr30-dis.c
index e75944de8fdd4218151466c0d69affd7770d331c..f389dcc1edbbae1916622b9a9554ea140dfe9c1a 100644 (file)
@@ -624,17 +624,21 @@ print_insn_fr30 (pc, info)
   arch = info->arch;
   if (arch == bfd_arch_unknown)
     arch = CGEN_BFD_ARCH;
-      
-  /* There's no standard way to compute the isa number (e.g. for arm thumb)
+   
+  /* There's no standard way to compute the machine or isa number
      so we leave it to the target.  */
+#ifdef CGEN_COMPUTE_MACH
+  mach = CGEN_COMPUTE_MACH (info);
+#else
+  mach = info->mach;
+#endif
+
 #ifdef CGEN_COMPUTE_ISA
   isa = CGEN_COMPUTE_ISA (info);
 #else
   isa = 0;
 #endif
 
-  mach = info->mach;
-
   /* If we've switched cpu's, close the current table and open a new one.  */
   if (cd
       && (isa != prev_isa
This page took 0.023122 seconds and 4 git commands to generate.