Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] Delete amd64_fill_fxsave
@ 2004-03-14 21:39 Mark Kettenis
  2004-03-19  0:09 ` Mark Kettenis
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2004-03-14 21:39 UTC (permalink / raw)
  To: gdb-patches

This function is no longer used.

Committed to mainline,

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* amd64-tdep.h (amd64_fill_fxsave): Remove prototype.
	* amd64-tdep.c (amd64_fill_fxsave): Remove function.

Index: amd64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/amd64-tdep.c,v
retrieving revision 1.3
diff -u -p -r1.3 amd64-tdep.c
--- amd64-tdep.c 28 Feb 2004 20:48:57 -0000 1.3
+++ amd64-tdep.c 14 Mar 2004 21:37:43 -0000
@@ -1186,14 +1186,3 @@ amd64_collect_fxsave (const struct regca
   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: amd64-tdep.h
===================================================================
RCS file: /cvs/src/src/gdb/amd64-tdep.h,v
retrieving revision 1.2
diff -u -p -r1.2 amd64-tdep.h
--- amd64-tdep.h 28 Feb 2004 20:48:57 -0000 1.2
+++ amd64-tdep.h 14 Mar 2004 21:37:43 -0000
@@ -70,13 +70,6 @@ extern void amd64_supply_fxsave (struct 
 
 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.  */


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-14 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-14 21:39 [PATCH] Delete amd64_fill_fxsave Mark Kettenis
2004-03-19  0:09 ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox