From 070203902f1280ca0f55c92bce337298e3ccfa95 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 30 Apr 2003 18:17:58 +0000 Subject: [PATCH] 2003-04-30 Andrew Cagney * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. --- gdb/ChangeLog | 4 ++++ gdb/sparc-tdep.c | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e211fa16ff..efeced4515 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-04-30 Andrew Cagney + + * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. + 2003-04-29 Adam Fedor * eval.c (evaluate_subexp_standard): Handle ObjC ops. diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index fe829a3200..005b5c59db 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. */