X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fxgate-dis.c;h=ee88bf9c32819016220b249eda19a3fc79ca008f;hb=1d29ab86cb5145cac5045c1a4113d8b8fbd4d9c6;hp=2ebf0caa4f012e72bc3459d8ff0bc9e4775d98da;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/xgate-dis.c b/opcodes/xgate-dis.c index 2ebf0caa4f..ee88bf9c32 100644 --- a/opcodes/xgate-dis.c +++ b/opcodes/xgate-dis.c @@ -1,5 +1,5 @@ /* xgate-dis.c -- Freescale XGATE disassembly - Copyright (C) 2009-2014 Free Software Foundation, Inc. + Copyright (C) 2009-2019 Free Software Foundation, Inc. Written by Sean Keys (skeys@ipdatasys.com) This file is part of the GNU opcodes library. @@ -21,7 +21,7 @@ #include "sysdep.h" #include -#include "dis-asm.h" +#include "disassemble.h" #include "opintl.h" #include "libiberty.h" #include "ansidecl.h" @@ -169,8 +169,8 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info) } else if (!strcmp (decodePTR->opcodePTR->constraints, XGATE_OP_DYA)) { - operandOne = ripBits (&operMaskReg, 3, opcodePTR, raw_code); - operandTwo = ripBits (&operMaskReg, 3, opcodePTR, raw_code); + operandOne = ripBits (&operMaskReg, 3, decodePTR->opcodePTR, raw_code); + operandTwo = ripBits (&operMaskReg, 3, decodePTR->opcodePTR, raw_code); ( *info->fprintf_func)(info->stream, " R%x, R%x", operandOne, operandTwo); } @@ -259,7 +259,7 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info) else { (*info->fprintf_func)(info->stream, " unhandled mode %s", - opcodePTR->constraints); + decodePTR->opcodePTR->constraints); } perviousBin = raw_code; }