From: Mark Kettenis Date: Sun, 14 Mar 2004 21:38:55 +0000 (+0000) Subject: * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34021503e6134f199623b86b3c9dfc0524d88dca;p=binutils-gdb.git * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. * amd64-tdep.c (amd64_fill_fxsave): Remove function. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bea7f2113c6..d9c699d4b25 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-03-14 Mark Kettenis + + * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. + * amd64-tdep.c (amd64_fill_fxsave): Remove function. + 2004-03-14 Daniel Jacobowitz * dwarf2read.c (read_structure_type): Rename from diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index e0b2ca046f5..fb544c4ba1a 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); -} diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index 042618b3e09..bfc549bd58e 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -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. */