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]

[COMMIT] Don't use DEPRECATED_FP_REGNUM in procfs.c


DEPRECATED_FP_REGNUM was only used in some sort of optimization.  If
there is still a SVR4-based target around that still uses
DEPRECATED_FP_REGNUM, it deserves to get punished, so I checked this
in.

Mark


Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.6528
diff -u -p -r1.6528 ChangeLog
--- ChangeLog	30 Oct 2004 21:16:08 -0000	1.6528
+++ ChangeLog	30 Oct 2004 21:29:38 -0000
@@ -1,3 +1,8 @@
+2004-10-30  Mark Kettenis  <kettenis@gnu.org>
+
+	* procfs.c (procfs_fetch_registers, procfs_store_registers): Like
+	Remove optimization for DEPRECATED_FP_REGNUM.
+
 2004-10-30  Andrew Cagney  <cagney@gnu.org>
 
 	* alpha-tdep.c (alpha_setup_arbitrary_frame): Delete.
Index: procfs.c
===================================================================
RCS file: /cvs/src/src/gdb/procfs.c,v
retrieving revision 1.61
diff -u -p -r1.61 procfs.c
--- procfs.c	30 Oct 2004 18:01:11 -0000	1.61
+++ procfs.c	30 Oct 2004 21:29:42 -0000
@@ -3712,7 +3712,6 @@ procfs_fetch_registers (int regnum)
 
       if ((regnum >= 0 && regnum < FP0_REGNUM)
 	  || regnum == PC_REGNUM
-	  || regnum == DEPRECATED_FP_REGNUM
 	  || regnum == SP_REGNUM)
 	return;			/* Not a floating point register.  */
 
@@ -3783,7 +3782,6 @@ procfs_store_registers (int regnum)
 
       if ((regnum >= 0 && regnum < FP0_REGNUM)
 	  || regnum == PC_REGNUM
-	  || regnum == DEPRECATED_FP_REGNUM
 	  || regnum == SP_REGNUM)
 	return;			/* Not a floating point register.  */
 


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