This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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];
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]