X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fz80-dis.c;h=e30d6383de31cd53239cee04dea4d3376c9359f0;hb=60a90376792474224f3d22b1d9813844a3b3589a;hp=c9ee19e6dd214bee76eaf9e967f0204fe68b6059;hpb=d04117369bdf589dd7ad899960b89a77fe0597ae;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/z80-dis.c b/opcodes/z80-dis.c index c9ee19e6dd..e30d6383de 100644 --- a/opcodes/z80-dis.c +++ b/opcodes/z80-dis.c @@ -1,5 +1,5 @@ /* Print Z80 and R800 instructions - Copyright 2005, 2007 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;