aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-11-08 23:31:09 +0000
committerMark Kettenis <kettenis@gnu.org>2002-11-08 23:31:09 +0000
commit19e333637a61251a2317fd3b05451be99c8f00c2 (patch)
treee04429c606decacc5ea2e17ae95b35668e90d63a /gdb/i387-tdep.c
parent8779790c2eedc1baa70047c61d1fdcb5033aa0d7 (diff)
downloadgdb-19e333637a61251a2317fd3b05451be99c8f00c2.zip
gdb-19e333637a61251a2317fd3b05451be99c8f00c2.tar.gz
gdb-19e333637a61251a2317fd3b05451be99c8f00c2.tar.bz2
* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
FDOFF_REGNUM.
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r--gdb/i387-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index f2ed6b8..4999ff8 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -630,7 +630,7 @@ i387_fill_fxsave (char *fxsave, int regnum)
/* Most of the FPU control registers occupy only 16 bits in
the fxsave area. Give those a special treatment. */
if (i >= FPC_REGNUM && i < XMM0_REGNUM
- && i != FIOFF_REGNUM && i != FDOFF_REGNUM)
+ && i != FIOFF_REGNUM && i != FOOFF_REGNUM)
{
unsigned char buf[4];