+2016-09-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
+
+ * rs6000-tdep.c (ppc_process_record_op31): Fix
+ regcache_raw_read_unsigned call using the correct parameter type.
+
2016-09-22 Anton Kolesov <anton.kolesov@synopsys.com>
* arc-tdep.c: Fix ARI warning for printf(%p).
case 397: /* Store VSX Vector with Length */
case 429: /* Store VSX Vector Left-justified with Length */
+ ra = 0;
if (PPC_RA (insn) != 0)
regcache_raw_read_unsigned (regcache,
- tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
+ tdep->ppc_gp0_regnum + PPC_RA (insn), &ra);
+ ea = ra;
regcache_raw_read_unsigned (regcache,
tdep->ppc_gp0_regnum + PPC_RB (insn), &rb);
/* Store up to 16 bytes. */
case 710: /* Store Word Atomic */
case 742: /* Store Doubleword Atomic */
+ ra = 0;
if (PPC_RA (insn) != 0)
regcache_raw_read_unsigned (regcache,
- tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
+ tdep->ppc_gp0_regnum + PPC_RA (insn), &ra);
+ ea = ra;
switch (ext)
{
case 710: /* Store Word Atomic */