Adjust for branch target encoding change
[deliverable/binutils-gdb.git] / opcodes / ia64-dis.c
index 4c1c7f805587a5b180f615b70198cc4cf9d19cfa..bae99f09b2a542ba3bd1b165ba97ad7e0d8ba046 100644 (file)
@@ -1,5 +1,5 @@
 /* ia64-dis.c -- Disassemble ia64 instructions
-   Copyright 1998, 1999, 2000, 2002, 2005, 2007, 2008, 2009
+   Copyright 1998, 1999, 2000, 2002, 2005, 2007, 2008, 2009, 2012
    Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
@@ -20,8 +20,8 @@
    Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
+#include "sysdep.h"
 #include <assert.h>
-#include <string.h>
 
 #include "dis-asm.h"
 #include "opcode/ia64.h"
@@ -183,7 +183,7 @@ print_insn_ia64 (bfd_vma memaddr, struct disassemble_info *info)
            }
        }
 
-       switch (odesc->class)
+       switch (odesc->op_class)
          {
          case IA64_OPND_CLASS_CST:
            (*info->fprintf_func) (info->stream, "%s", odesc->str);
This page took 0.027505 seconds and 4 git commands to generate.