diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-06-13 11:06:27 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-06-13 11:06:27 +0200 |
commit | 8025a164287b588f450686a4b81f6001c33e4269 (patch) | |
tree | 8b457b41d5b1e735469711cf8c6e6b44e09ecfb4 /opcodes/i386-dis.c | |
parent | 95ff67183492ef847b181346a83485b38d0906c4 (diff) | |
download | binutils-gdb-8025a164287b588f450686a4b81f6001c33e4269.tar.gz |
x86: fix incorrect indirection
Commit 384e201e5aec ("x86: properly initialize struct instr_info
instance(s)") was based on an improperly refreshed patch. Correct the
oversight.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |