Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <kettenis@chello.nl>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] Delete amd64_fill_fxsave
Date: Fri, 19 Mar 2004 00:09:00 -0000	[thread overview]
Message-ID: <200403142138.i2ELcv3l015433@elgar.kettenis.dyndns.org> (raw)
Message-ID: <20040319000900.uWcjkf_z82ZLynBZjbe_Pq8vnScoY36PwP5zJG4Pg80@z> (raw)

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.  */


             reply	other threads:[~2004-03-14 21:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-14 21:39 Mark Kettenis [this message]
2004-03-19  0:09 ` Mark Kettenis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200403142138.i2ELcv3l015433@elgar.kettenis.dyndns.org \
    --to=kettenis@chello.nl \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox