This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix FDOFF_REGNUM usage in i387-tdep.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 9 Nov 2002 00:31:29 +0100 (CET)
- Subject: [PATCH] Fix FDOFF_REGNUM usage in i387-tdep.c
Should use FOOFF_REGNUM instead. Fixed by the attached patch. Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i387-tdep.c (i387_fill_fxsave): Use FOOFF_REGNUM instead of
FDOFF_REGNUM.
Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.26
diff -u -p -r1.26 i387-tdep.c
--- i387-tdep.c 3 Nov 2002 13:04:47 -0000 1.26
+++ i387-tdep.c 8 Nov 2002 23:30:14 -0000
@@ -630,7 +630,7 @@ i387_fill_fxsave (char *fxsave, int regn
/* 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];