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

* amd64-tdep.c (amd64_fill_fxsave): Remove function.
This commit is contained in:
Mark Kettenis 2004-03-14 21:38:55 +00:00
parent 134d01f12d
commit 34021503e6
3 changed files with 5 additions and 18 deletions

View 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

View 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);
}

View 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);
/* Variables exported from amd64nbsd-tdep.c. */