+2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ * amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to
+ `idx'(-Wshadow).
+
2011-12-10 Andrey Smirnov <andrew.smirnov@gmail.com>
* amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
if (have_sib)
{
int base = SIB_BASE_FIELD (details->raw_insn[details->modrm_offset + 1]);
- int index = SIB_INDEX_FIELD (details->raw_insn[details->modrm_offset + 1]);
+ int idx = SIB_INDEX_FIELD (details->raw_insn[details->modrm_offset + 1]);
used_regs_mask |= 1 << base;
- used_regs_mask |= 1 << index;
+ used_regs_mask |= 1 << idx;
}
else
{