[SIM, ARM] Fix build failure
[deliverable/binutils-gdb.git] / sim / arm / wrapper.c
index 01f88d11e57c07600115fcf95f2412e06a46ed12..d23417829e8d76734bd7b95e01f3580fd52e07f3 100644 (file)
@@ -92,10 +92,12 @@ void
 print_insn (ARMword instr)
 {
   int size;
+  disassembler_ftype disassemble_fn;
 
   opbuf[0] = 0;
   info.application_data = & instr;
-  size = print_insn_little_arm (0, & info);
+  disassemble_fn = disassembler (bfd_arch_arm, 0, 0, NULL);
+  size = disassemble_fn (0, & info);
   fprintf (stderr, " %*s\n", size, opbuf);
 }
 
This page took 0.02293 seconds and 4 git commands to generate.