X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fz80-dis.c;h=e30d6383de31cd53239cee04dea4d3376c9359f0;hb=ed48ec2e6ec5514f01b9b3a810d6ddf39651114b;hp=a313cd99b9aeae527e93256d0658d70a07b3354c;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/z80-dis.c b/opcodes/z80-dis.c index a313cd99b9..e30d6383de 100644 --- a/opcodes/z80-dis.c +++ b/opcodes/z80-dis.c @@ -1,5 +1,5 @@ /* Print Z80 and R800 instructions - Copyright (C) 2005-2014 Free Software Foundation, Inc. + Copyright (C) 2005-2019 Free Software Foundation, Inc. Contributed by Arnold Metselaar This file is part of the GNU opcodes library. @@ -20,7 +20,7 @@ MA 02110-1301, USA. */ #include "sysdep.h" -#include "dis-asm.h" +#include "disassemble.h" #include struct buffer @@ -130,7 +130,7 @@ prt_rr_nn (struct buffer *buf, disassemble_info * info, char *txt) char mytxt[TXTSIZ]; int rr; - rr = (buf->data[buf->n_fetch - 1] >> 4) & 3; + rr = (buf->data[buf->n_fetch - 1] >> 4) & 3; snprintf (mytxt, TXTSIZ, txt, rr_str[rr]); return prt_nn (buf, info, mytxt); } @@ -314,7 +314,7 @@ struct tab_elt opc_ed[] = }; static int -pref_ed (struct buffer * buf, disassemble_info * info, +pref_ed (struct buffer * buf, disassemble_info * info, char* txt ATTRIBUTE_UNUSED) { struct tab_elt *p;