aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/i387-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0c0fb1d6..d53b9e1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-09 Mark Kettenis <kettenis@gnu.org>
+
+ * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
+ FDOFF_REGNUM.
+
2002-11-08 Andrew Cagney <ac131313@redhat.com>
* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind.
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];