Fix for gdb.base/pc-fp.exp.
Commit Message
Fix for gdb.base/pc-fp.exp.
gdb/Changelog
2016-08-22 Carl Love <cel@us.ibm.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Remove deprecated call set_gdbarch_deprecated_fp_regnum()
from Power architecture initialization function.
---
gdb/rs6000-tdep.c | 1 -
1 file changed, 1 deletion(-)
Comments
Can you provide more details?
E.g.:
What's was wrong? What failed? Why is removing this line the
right fix?
I'm not suggesting that the fix is wrong (or right, I have no
idea). Just pointing out that context is missing.
Thanks,
Pedro Alves
@@ -5957,7 +5957,6 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_pc_regnum (gdbarch, PPC_PC_REGNUM);
set_gdbarch_sp_regnum (gdbarch, PPC_R0_REGNUM + 1);
- set_gdbarch_deprecated_fp_regnum (gdbarch, PPC_R0_REGNUM + 1);
set_gdbarch_fp0_regnum (gdbarch, tdep->ppc_fp0_regnum);
set_gdbarch_register_sim_regno (gdbarch, rs6000_register_sim_regno);