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 | 679da607cde677bea7ee3fbbbbc2092d1d5f63c0 (patch) | |
tree | 35171018dbd955d84e930a29dd67368b8ed94068 /gdb/amd64-tdep.h | |
parent | ca6dc4c8184f89b2e330420b8d55e92ef8a113bf (diff) | |
download | gdb-679da607cde677bea7ee3fbbbbc2092d1d5f63c0.tar.gz |
* 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 aff0c6a0389..042618b3e09 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. */ |