projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ff671
)
x86: fix incorrect indirection
author
Jan Beulich
<jbeulich@suse.com>
Mon, 13 Jun 2022 09:06:27 +0000
(11:06 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 13 Jun 2022 09:06:27 +0000
(11:06 +0200)
Commit
384e201e5aec
("x86: properly initialize struct instr_info
instance(s)") was based on an improperly refreshed patch. Correct the
oversight.
opcodes/i386-dis.c
patch
|
blob
|
history
diff --git
a/opcodes/i386-dis.c
b/opcodes/i386-dis.c
index 5d851a269dc3b82b6ad6d25cd561a496f8303074..22efc4f50bc25678af99d0610618f085cb869a46 100644
(file)
--- 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. */