diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 20:43:51 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-02-28 20:43:51 +0000 |
commit | ca6dc4c8184f89b2e330420b8d55e92ef8a113bf (patch) | |
tree | 1f7eb7f3c3e4abffb96f3d458133af99661c7744 /gdb/i387-tdep.h | |
parent | 64670a6dd880fd9d04c179942ea1beb7da8e6554 (diff) | |
download | gdb-ca6dc4c8184f89b2e330420b8d55e92ef8a113bf.tar.gz |
* i387-tdep.h: Update copyright year.
(i387_collect_fxsave): New prototype.
* i387-tdep.c: Update copyright year.
(i387_collect_fxsave): New function containing most of the code
from i387_fill_fxsave.
(i387_fill_fxsave): Call i387_collect_fxsave.
Diffstat (limited to 'gdb/i387-tdep.h')
-rw-r--r-- | gdb/i387-tdep.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gdb/i387-tdep.h b/gdb/i387-tdep.h index fa94a486d81..978fdf9937e 100644 --- a/gdb/i387-tdep.h +++ b/gdb/i387-tdep.h @@ -1,6 +1,6 @@ /* Target-dependent code for the i387. - Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -96,6 +96,14 @@ extern void i387_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 i387_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. */ |