summaryrefslogtreecommitdiff
path: root/gdb/amd64-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-03-14 21:38:55 +0000
committerMark Kettenis <kettenis@gnu.org>2004-03-14 21:38:55 +0000
commit25aa88bec7b1ee34330abe4aa7f548073d736cc9 (patch)
tree56fc576f67db3027cddc79bdb1bbfdc8cb8f8eee /gdb/amd64-tdep.c
parente45ea7b087696ffa031791338efcfc9e6f862dd2 (diff)
downloadgdb-25aa88bec7b1ee34330abe4aa7f548073d736cc9.tar.gz
* amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
* amd64-tdep.c (amd64_fill_fxsave): Remove function.
Diffstat (limited to 'gdb/amd64-tdep.c')
-rw-r--r--gdb/amd64-tdep.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index e0b2ca046f5..fb544c4ba1a 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1186,14 +1186,3 @@ amd64_collect_fxsave (const struct regcache *regcache, int regnum,
if (regnum == -1 || regnum == I387_FOSEG_REGNUM)
regcache_raw_collect (regcache, I387_FOSEG_REGNUM, regs + 20);
}
-
-/* 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
-amd64_fill_fxsave (char *fxsave, int regnum)
-{
- amd64_collect_fxsave (current_regcache, regnum, fxsave);
-}