aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>1998-10-02 22:57:12 +0000
committerFernando Nasser <fnasser@redhat.com>1998-10-02 22:57:12 +0000
commit2d24a02138173b871323ce27638f420cce2344f2 (patch)
treec2ba08c0ee585f85657e431d185938e426ee5be7
parent2c04e0d951131a39477d7de400b80e45ebb22219 (diff)
downloadgdb-2d24a02138173b871323ce27638f420cce2344f2.zip
gdb-2d24a02138173b871323ce27638f420cce2344f2.tar.gz
gdb-2d24a02138173b871323ce27638f420cce2344f2.tar.bz2
Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
* sol-thread.c: Fixed prototypes and calls to supply_fpregset and fill_fpregset PR 17053
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/sol-thread.c12
2 files changed, 11 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3a13437..b44beb3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Fri Oct 2 18:52:20 1998 Fernando Nasser <fnasser@cygnus.com>
+
+ * sol-thread.c: Fixed prototypes and calls to supply_fpregset and
+ fill_fpregset
+
1998-10-02 Keith Seitz <keiths@cygnus.com>
* remote.c (remote_interrupt): Rewrite to use remote_stop.
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 3479aab..587434f 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -91,8 +91,8 @@ extern char *procfs_pid_to_str PARAMS ((int pid));
extern void supply_gregset PARAMS ((const prgregset_t));
extern void fill_gregset PARAMS ((prgregset_t, int));
-extern void supply_fpregset PARAMS ((const prfpregset_t));
-extern void fill_fpregset PARAMS ((prfpregset_t, int));
+extern void supply_fpregset PARAMS ((const prfpregset_t *));
+extern void fill_fpregset PARAMS ((prfpregset_t *, int));
/* This struct is defined by us, but mainly used for the proc_service interface.
We don't have much use for it, except as a handy place to get a real pid
@@ -653,7 +653,7 @@ sol_thread_fetch_registers (regno)
registers array. */
supply_gregset (gregset);
- supply_fpregset (fpregset);
+ supply_fpregset (&fpregset);
#if 0
/* thread_db doesn't seem to handle this right */
@@ -739,7 +739,7 @@ sol_thread_store_registers (regno)
}
fill_gregset (regset, regno);
- fill_fpregset (fpregset, regno);
+ fill_fpregset (&fpregset, regno);
val = p_td_thr_setgregs (&thandle, regset);
if (val != TD_OK)
@@ -1215,7 +1215,7 @@ ps_lgetfpregs (const struct ps_prochandle *ph, lwpid_t lwpid,
procfs_ops.to_fetch_registers (-1);
else
orig_core_ops.to_fetch_registers (-1);
- fill_fpregset (*fpregset, -1);
+ fill_fpregset (fpregset, -1);
do_cleanups (old_chain);
@@ -1234,7 +1234,7 @@ ps_lsetfpregs (const struct ps_prochandle *ph, lwpid_t lwpid,
inferior_pid = BUILD_LWP (lwpid, PIDGET (inferior_pid));
- supply_fpregset (*fpregset);
+ supply_fpregset (fpregset);
if (target_has_execution)
procfs_ops.to_store_registers (-1);
else