aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-30 18:17:58 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-30 18:17:58 +0000
commit070203902f1280ca0f55c92bce337298e3ccfa95 (patch)
treec99df5d1131da8df5153763993a56a51e09aa5e5 /gdb/sparc-tdep.c
parent5ad8914f651540aff2cfcb9c91e97722b1ffa515 (diff)
downloadgdb-070203902f1280ca0f55c92bce337298e3ccfa95.zip
gdb-070203902f1280ca0f55c92bce337298e3ccfa95.tar.gz
gdb-070203902f1280ca0f55c92bce337298e3ccfa95.tar.bz2
2003-04-30 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index fe829a3..005b5c5 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -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)
+#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. */