aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-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/i387-tdep.c
parentc6b4e5a265aa3da4ed24e2198358b03f37dce595 (diff)
downloadgdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.zip
gdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.tar.gz
gdb-26144df5d2c0b2fa0244f3fb95f8ed2686ac0815.tar.bz2
* 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/i387-tdep.c')
-rw-r--r--gdb/i387-tdep.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index f4d6aa6..5dce37f 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -473,17 +473,6 @@ i387_collect_fsave (const struct regcache *regcache, int regnum, void *fsave)
}
#undef I387_ST0_REGNUM
}
-
-/* Fill register REGNUM (if it is a floating-point register) in *FSAVE
- with the value in GDB's register cache. If REGNUM is -1, do this
- for all registers. This function doesn't touch any of the reserved
- bits in *FSAVE. */
-
-void
-i387_fill_fsave (void *fsave, int regnum)
-{
- i387_collect_fsave (current_regcache, regnum, fsave);
-}
/* At fxsave_offset[REGNUM] you'll find the offset to the location in
@@ -701,17 +690,6 @@ i387_collect_fxsave (const struct regcache *regcache, int regnum, void *fxsave)
#undef I387_NUM_XMM_REGS
}
-/* Fill register REGNUM (if it is a floating-point or SSE register) in
- *FXSAVE with the value in GDB's register cache. If REGNUM is -1, do
- this for all registers. This function doesn't touch any of the
- reserved bits in *FXSAVE. */
-
-void
-i387_fill_fxsave (void *fxsave, int regnum)
-{
- i387_collect_fxsave (current_regcache, regnum, fxsave);
-}
-
/* Recreate the FTW (tag word) valid bits from the 80-bit FP data in
*RAW. */