From 25aa88bec7b1ee34330abe4aa7f548073d736cc9 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 14 Mar 2004 21:38:55 +0000 Subject: * amd64-tdep.h (amd64_fill_fxsave): Remove prototype. * amd64-tdep.c (amd64_fill_fxsave): Remove function. --- gdb/ChangeLog | 5 +++++ gdb/amd64-tdep.c | 11 ----------- gdb/amd64-tdep.h | 7 ------- 3 files changed, 5 insertions(+), 18 deletions(-) (limited to 'gdb') 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. */ -- cgit v1.2.1