This is the mail archive of the 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]

[obish] fix solaris 8 sparc-tdep.c compile problem

This fixes a compile problem for solaris 8 (SPARC). I'm not yet sure if it fixes a build though - I got a link error from using a really old compiler :-(


2003-04-30  Andrew Cagney  <>

	* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.

Index: sparc-tdep.c
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.92
diff -u -r1.92 sparc-tdep.c
--- sparc-tdep.c	29 Apr 2003 01:49:47 -0000	1.92
+++ sparc-tdep.c	30 Apr 2003 18:16:44 -0000
@@ -51,8 +51,11 @@
 #if (GDB_MULTI_ARCH > 0)
-/* Does the target have Floating Point registers?  */
-#define SPARC_HAS_FPU     (gdbarch_tdep (current_gdbarch)->has_fpu)
+#if 0
+// OBSOLETE /* Does the target have Floating Point registers?  */
+// OBSOLETE #define SPARC_HAS_FPU     (gdbarch_tdep (current_gdbarch)->has_fpu)
+#define SPARC_HAS_FPU 1
 /* Number of bytes devoted to Floating Point registers: */
 #define FP_REGISTER_BYTES (gdbarch_tdep (current_gdbarch)->fp_register_bytes)
 /* Highest numbered Floating Point register.  */

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