aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-06-18 16:06:24 +0000
committerMark Kettenis <kettenis@gnu.org>2004-06-18 16:06:24 +0000
commit2f305df11e92cf8e6c21194f4cccf37e0cf7d571 (patch)
treec6b0cd8114e98ba7fa412bc7619114e47810e175 /gdb/i386-tdep.c
parent23a75657ad37b290eb7df6ce34de22b1c614f5d6 (diff)
downloadgdb-2f305df11e92cf8e6c21194f4cccf37e0cf7d571.zip
gdb-2f305df11e92cf8e6c21194f4cccf37e0cf7d571.tar.gz
gdb-2f305df11e92cf8e6c21194f4cccf37e0cf7d571.tar.bz2
* i386-tdep.c (i386_collect_fpregset): Fix comment.
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 2008acb..19e7ed9 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -1674,9 +1674,10 @@ i386_supply_fpregset (const struct regset *regset, struct regcache *regcache,
i387_supply_fsave (regcache, regnum, fpregs);
}
-/* Supply register REGNUM from the buffer specified by FPREGS and LEN
- in the floating-point register set REGSET to register cache
- REGCACHE. If REGNUM is -1, do this for all registers in REGSET. */
+/* Collect register REGNUM from the register cache REGCACHE and store
+ it in the buffer specified by FPREGS and LEN as described by the
+ floating-point register set REGSET. If REGNUM is -1, do this for
+ all registers in REGSET. */
static void
i386_collect_fpregset (const struct regset *regset,