aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-05-13 22:55:32 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-05-13 22:55:32 +0000
commit552e377b0f85753e0431f56784b9601f34c5e98d (patch)
treea3a6f8554bc08f7cbc424457086cb5c063561f7f
parent349766b20512ee431fe22b4cc01881620c6d6dde (diff)
downloadgdb-552e377b0f85753e0431f56784b9601f34c5e98d.zip
gdb-552e377b0f85753e0431f56784b9601f34c5e98d.tar.gz
gdb-552e377b0f85753e0431f56784b9601f34c5e98d.tar.bz2
* aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
Fixes a link link failure.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aix-thread.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1165a0c..758420a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-05-13 J. Brobecker <brobecker@gnat.com>
+ * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
+ Fixes a link link failure.
+
+2004-05-13 J. Brobecker <brobecker@gnat.com>
+
* aix-thread.c (store_regs_kernel_thread): Fix a little obvious
error that was causing the build to fail.
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 93c532b..05493ae 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1027,7 +1027,7 @@ supply_fprs (double *vals)
/* This function should never be called on architectures without
floating-point registers. */
- gdb_assert (ppc_floating_point_p (current_gdbarch));
+ gdb_assert (ppc_floating_point_unit_p (current_gdbarch));
for (regno = 0; regno < ppc_num_fprs; regno++)
supply_register (regno + tdep->ppc_fp0_regnum, (char *) (vals + regno));
@@ -1122,7 +1122,7 @@ fetch_regs_user_thread (pthdb_pthread_t pdtid)
/* Floating-point registers. */
- if (ppc_floating_point_p (current_gdbarch))
+ if (ppc_floating_point_unit_p (current_gdbarch))
supply_fprs (ctx.fpr);
/* Special registers. */
@@ -1284,7 +1284,7 @@ fill_fprs (double *vals)
/* This function should never be called on architectures without
floating-point registers. */
- gdb_assert (ppc_floating_point_p (current_gdbarch));
+ gdb_assert (ppc_floating_point_unit_p (current_gdbarch));
for (regno = tdep->ppc_fp0_regnum;
regno < tdep->ppc_fp0_regnum + ppc_num_fprs;
@@ -1408,7 +1408,7 @@ store_regs_user_thread (pthdb_pthread_t pdtid)
}
/* Collect floating-point register values from the regcache. */
- if (ppc_floating_point_p (current_gdbarch))
+ if (ppc_floating_point_unit_p (current_gdbarch))
fill_fprs (ctx.fpr);
/* Special registers (always kept in ctx as 64 bits). */