X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fm68hc11-dis.c;h=efe6e198c29330fc756e84c83420910214cc956b;hb=9acc85a62eb76c270724bba15c889d2d05567b6a;hp=98ef4d922a37ca682d1d0ebd01b67b7594b4a6c4;hpb=6927f98292aaa6f7fcb3152d5d902758538e626c;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/m68hc11-dis.c b/opcodes/m68hc11-dis.c index 98ef4d922a..efe6e198c2 100644 --- a/opcodes/m68hc11-dis.c +++ b/opcodes/m68hc11-dis.c @@ -1,6 +1,5 @@ /* m68hc11-dis.c -- Motorola 68HC11 & 68HC12 disassembly - Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2012 - Free Software Foundation, Inc. + Copyright (C) 1999-2016 Free Software Foundation, Inc. Written by Stephane Carrez (stcarrez@nerim.fr) XGATE and S12X added by James Murray (jsm@jsm-net.demon.co.uk) @@ -21,9 +20,9 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ +#include "sysdep.h" #include -#include "ansidecl.h" #include "opcode/m68hc11.h" #include "dis-asm.h" @@ -698,7 +697,7 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info, int arch) { int cur_page; bfd_vma vaddr; - + if (memaddr >= M68HC12_BANK_VIRT) cur_page = ((memaddr - M68HC12_BANK_VIRT) >> M68HC12_BANK_SHIFT); @@ -828,7 +827,7 @@ print_insn (bfd_vma memaddr, struct disassemble_info* info, int arch) val = buffer[0] & 0x0ff; (*info->fprintf_func) (info->stream, ", 0x%x", val); } - + #ifdef DEBUG /* Consistency check. 'format' must be 0, so that we have handled all formats; and the computed size of the insn must match the