register number instead of the pseudo register one.
(rs6000_dwarf2_reg_to_regnum): Likewise.
+2013-07-05 Luis Machado <lgustavo@codesourcery.com>
+
+ * rs6000-tdep.c (rs6000_stab_reg_to_regnum): Return the real
+ register number instead of the pseudo register one.
+ (rs6000_dwarf2_reg_to_regnum): Likewise.
+
2013-07-04 Pedro Alves <palves@redhat.com>
* findvar.c (value_of_register): Use allocate_optimized_out_value
else if (77 <= num && num <= 108)
return tdep->ppc_vr0_regnum + (num - 77);
else if (1200 <= num && num < 1200 + 32)
- return tdep->ppc_ev0_regnum + (num - 1200);
+ return tdep->ppc_ev0_upper_regnum + (num - 1200);
else
switch (num)
{
else if (1124 <= num && num < 1124 + 32)
return tdep->ppc_vr0_regnum + (num - 1124);
else if (1200 <= num && num < 1200 + 32)
- return tdep->ppc_ev0_regnum + (num - 1200);
+ return tdep->ppc_ev0_upper_regnum + (num - 1200);
else
switch (num)
{