* d30v-dis.c: Fix a comment typo.
[deliverable/binutils-gdb.git] / opcodes / ia64-dis.c
index 629a76820d3780304ac68c917991422d210eac1e..f9add9177702361aaf630fa7b6064c45d1e1f0f8 100644 (file)
@@ -1,5 +1,5 @@
 /* ia64-dis.c -- Disassemble ia64 instructions
-   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    This file is part of GDB, GAS, and the GNU binutils.
@@ -117,7 +117,7 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
     {
       /* skip L slot in MLI template: */
       slotnum = 2;
-      retval = 16 - slot_multiplier;
+      retval += slot_multiplier;
     }
 
   insn = slot[slotnum];
@@ -261,12 +261,13 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
     (*info->fprintf_func) (info->stream, ";;");
 
  done:
-  ia64_free_opcode (idesc);
+  ia64_free_opcode ((struct ia64_opcode *)idesc);
+ failed:
   if (slotnum == 2)
     retval += 16 - 3*slot_multiplier;
   return retval;
 
  decoding_failed:
   (*info->fprintf_func) (info->stream, "      data8 %#011llx", insn);
-  goto done;
+  goto failed;
 }
This page took 0.036295 seconds and 4 git commands to generate.