This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix for gdb.base/pc-fp.exp.
- From: "Carl E. Love" <cel at us dot ibm dot com>
- To: Ulrich Weigand <Ulrich dot Weigand at de dot ibm dot com>, Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>, cel at us dot ibm dot com, gdb-patches at sourceware dot org
- Date: Mon, 22 Aug 2016 14:16:18 -0700
- Subject: [PATCH] Fix for gdb.base/pc-fp.exp.
- Authentication-results: sourceware.org; auth=none
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(-)
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index eb12c5d..e180641 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -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);
--
1.8.3.1