X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fm68hc11-dis.c;h=97647b4552443419988fe38e7cc23340d3bd037b;hb=2480b6fa946bb2d2dc993b1c4a83a8e1258a75e8;hp=9bf979a37e610a4eca1edb15f4b239ed5cbc1c03;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/m68hc11-dis.c b/opcodes/m68hc11-dis.c index 9bf979a37e..97647b4552 100644 --- a/opcodes/m68hc11-dis.c +++ b/opcodes/m68hc11-dis.c @@ -1,5 +1,5 @@ /* m68hc11-dis.c -- Motorola 68HC11 & 68HC12 disassembly - Copyright (C) 1999-2014 Free Software Foundation, Inc. + Copyright (C) 1999-2019 Free Software Foundation, Inc. Written by Stephane Carrez (stcarrez@nerim.fr) XGATE and S12X added by James Murray (jsm@jsm-net.demon.co.uk) @@ -24,7 +24,7 @@ #include #include "opcode/m68hc11.h" -#include "dis-asm.h" +#include "disassemble.h" #define PC_REGNUM 3 @@ -697,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); @@ -827,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