summaryrefslogtreecommitdiff
path: root/gdb/i386-nto-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-05-06 14:28:27 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-05-06 14:28:27 +0000
commit26144df5d2c0b2fa0244f3fb95f8ed2686ac0815 (patch)
treeca20e278580aeffa2cd791649cbe3a105f40220c /gdb/i386-nto-tdep.c
parentc6b4e5a265aa3da4ed24e2198358b03f37dce595 (diff)
* 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.
Diffstat (limited to 'gdb/i386-nto-tdep.c')
-rw-r--r--gdb/i386-nto-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-nto-tdep.c b/gdb/i386-nto-tdep.c
index 75acd7e84d..f617faf369 100644
--- a/gdb/i386-nto-tdep.c
+++ b/gdb/i386-nto-tdep.c
@@ -193,9 +193,9 @@ i386nto_regset_fill (int regset, char *data)
else if (regset == NTO_REG_FLOAT)
{
if (nto_cpuinfo_valid && nto_cpuinfo_flags | X86_CPU_FXSR)
- i387_fill_fxsave (data, -1);
+ i387_collect_fxsave (current_regcache, -1, data);
else
- i387_fill_fsave (data, -1);
+ i387_collect_fsave (current_regcache, -1, data);
}
else
return -1;