diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 20:48:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 20:48:57 +0000 |
commit | 3c017e402435ac8d89b7e158e042b05870f47e27 (patch) | |
tree | ae366dfd1bd8992cc742fcae111d41390a082d85 /gdb/amd64-tdep.h | |
parent | 80571bffe3b90a83994c059c774bee3bc6d56749 (diff) | |
download | gdb-3c017e402435ac8d89b7e158e042b05870f47e27.zip gdb-3c017e402435ac8d89b7e158e042b05870f47e27.tar.gz gdb-3c017e402435ac8d89b7e158e042b05870f47e27.tar.bz2 |
* amd64-tdep.h: (amd64_collect_fxsave): New prototype.
* amd64-tdep.c (amd64_collect_fxsave): New function.
(amd64_fill_fxsave): Simply call amd64_collect_fxsave.
Diffstat (limited to 'gdb/amd64-tdep.h')
-rw-r--r-- | gdb/amd64-tdep.h | 8 |
1 files changed, 8 insertions, 0 deletions
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. */ |