* amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
authorMark Kettenis <kettenis@gnu.org>
Sun, 14 Mar 2004 21:38:55 +0000 (21:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 14 Mar 2004 21:38:55 +0000 (21:38 +0000)
* amd64-tdep.c (amd64_fill_fxsave): Remove function.

gdb/ChangeLog
gdb/amd64-tdep.c
gdb/amd64-tdep.h

index bea7f21..d9c699d 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
+       * amd64-tdep.c (amd64_fill_fxsave): Remove function.
+
 2004-03-14  Daniel Jacobowitz  <drow@mvista.com>
 
        * dwarf2read.c (read_structure_type): Rename from
index e0b2ca0..fb544c4 100644 (file)
@@ -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);
-}
index 042618b..bfc549b 100644 (file)
@@ -70,13 +70,6 @@ extern void amd64_supply_fxsave (struct regcache *regcache, int regnum,
 
 extern void amd64_collect_fxsave (const struct regcache *regcache, int regnum,
                                  void *fxsave);
-
-/* 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.  */
-
-extern void amd64_fill_fxsave (char *fxsave, int regnum);
 \f
 
 /* Variables exported from amd64nbsd-tdep.c.  */