* i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.

* i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
	* i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
	i387_fill_fsave and i387_fill_fxsave calls by inline copies.
	* i386-nto-tdep.c (i386nto_regset_fill): Likewise.
	* i386gnu-nat.c (store_fpregs): Likewise.
	* i386v4-nat.c (fill_fpregset): Likewise.
	* go32-nat.c (store_register, go32_store_registers): Likewise.
This commit is contained in:
Ulrich Weigand
2007-05-06 14:28:27 +00:00
parent c6b4e5a265
commit 26144df5d2
8 changed files with 19 additions and 44 deletions

View File

@@ -186,7 +186,7 @@ store_fpregs (struct proc *thread, int regno)
/* FIXME: kettenis/2001-07-15: Is this right? Should we somehow
take into account DEPRECATED_REGISTER_VALID like the old code did? */
i387_fill_fsave (state.hw_state, regno);
i387_collect_fsave (current_regcache, regno, state.hw_state);
err = thread_set_state (thread->port, i386_FLOAT_STATE,
(thread_state_t) &state, i386_FLOAT_STATE_COUNT);