2003-04-30 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 30 Apr 2003 18:17:58 +0000 (18:17 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 30 Apr 2003 18:17:58 +0000 (18:17 +0000)
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.

gdb/ChangeLog
gdb/sparc-tdep.c

index e211fa16fff8494dbac9b4291fe6ddc7461aed2b..efeced4515c4650316d40221b788b3d348e0a723 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-30  Andrew Cagney  <cagney@redhat.com>
+
+       * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
+
 2003-04-29  Adam Fedor  <fedor@gnu.org>
 
        * eval.c (evaluate_subexp_standard): Handle ObjC ops.
index fe829a3200b65ef4d6f742e550d9b570964e13f6..005b5c59db0f1f2d62c5b88ceae18f4bbf3869f7 100644 (file)
 
 #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)
+#endif
+#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.  */