aboutsummaryrefslogtreecommitdiff
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
commit34021503e6134f199623b86b3c9dfc0524d88dca (patch)
tree8eb59d9532c1a80943fdccd913a9e49b803c7a49 /gdb/amd64-tdep.c
parent134d01f12d35ad9cc2bc6e632f6865ccf98f4ee2 (diff)
downloadgdb-34021503e6134f199623b86b3c9dfc0524d88dca.zip
gdb-34021503e6134f199623b86b3c9dfc0524d88dca.tar.gz
gdb-34021503e6134f199623b86b3c9dfc0524d88dca.tar.bz2
* 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 e0b2ca0..fb544c4 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);
-}