From: Jan Beulich Date: Mon, 13 Jun 2022 09:06:27 +0000 (+0200) Subject: x86: fix incorrect indirection X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8025a164287b588f450686a4b81f6001c33e4269;p=binutils-gdb.git x86: fix incorrect indirection Commit 384e201e5aec ("x86: properly initialize struct instr_info instance(s)") was based on an improperly refreshed patch. Correct the oversight. --- diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 5d851a269dc..22efc4f50bc 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -9798,7 +9798,7 @@ print_insn (bfd_vma pc, disassemble_info *info, int intel_syntax) /* Calculate the number of operands this instruction has. */ op_count = 0; for (i = 0; i < MAX_OPERANDS; ++i) - if (*ins->op_out[i] != '\0') + if (*ins.op_out[i] != '\0') ++op_count; /* Calculate the number of spaces to print after the mnemonic. */