From 3c017e402435ac8d89b7e158e042b05870f47e27 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 28 Feb 2004 20:48:57 +0000 Subject: * amd64-tdep.h: (amd64_collect_fxsave): New prototype. * amd64-tdep.c (amd64_collect_fxsave): New function. (amd64_fill_fxsave): Simply call amd64_collect_fxsave. --- gdb/amd64-tdep.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/amd64-tdep.h') diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index aff0c6a..042618b 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -64,6 +64,14 @@ extern void amd64_supply_fxsave (struct regcache *regcache, int regnum, const void *fxsave); /* Fill register REGNUM (if it is a floating-point or SSE register) in + *FXSAVE with the value from REGCACHE. If REGNUM is -1, do this for + all registers. This function doesn't touch any of the reserved + bits in *FXSAVE. */ + +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. */ -- cgit v1.1