summaryrefslogtreecommitdiff
path: root/gdb/i386-linux-nat.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
commitc728225d30c3bb621a8821399ee0b765efe74dd0 (patch)
treeef3ee9173990bb2caeacc67a4421461ca3356e61 /gdb/i386-linux-nat.c
parent5e53744c31d6fd69a92c6790d62c77dd96fd2b1a (diff)
downloadgdb-c728225d30c3bb621a8821399ee0b765efe74dd0.tar.gz
* 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-linux-nat.c')
-rw-r--r--gdb/i386-linux-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-linux-nat.c b/gdb/i386-linux-nat.c
index dfa260e3dec..8572c579a97 100644
--- a/gdb/i386-linux-nat.c
+++ b/gdb/i386-linux-nat.c
@@ -303,7 +303,7 @@ supply_fpregset (elf_fpregset_t *fpregsetp)
void
fill_fpregset (elf_fpregset_t *fpregsetp, int regno)
{
- i387_fill_fsave ((char *) fpregsetp, regno);
+ i387_collect_fsave (current_regcache, regno, fpregsetp);
}
#ifdef HAVE_PTRACE_GETREGS
@@ -367,7 +367,7 @@ supply_fpxregset (elf_fpxregset_t *fpxregsetp)
void
fill_fpxregset (elf_fpxregset_t *fpxregsetp, int regno)
{
- i387_fill_fxsave ((char *) fpxregsetp, regno);
+ i387_collect_fxsave (current_regcache, regno, fpxregsetp);
}
/* Fetch all registers covered by the PTRACE_GETFPXREGS request from