From 19e333637a61251a2317fd3b05451be99c8f00c2 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 8 Nov 2002 23:31:09 +0000 Subject: [PATCH] * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of FDOFF_REGNUM. --- gdb/ChangeLog | 5 +++++ gdb/i387-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0c0fb1d605a..d53b9e111e4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-11-09 Mark Kettenis + + * i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of + FDOFF_REGNUM. + 2002-11-08 Andrew Cagney * frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind. diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index f2ed6b8e37a..4999ff805a8 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]; -- 2.30.2