From: Andrew Cagney Date: Wed, 30 Apr 2003 18:17:58 +0000 (+0000) Subject: 2003-04-30 Andrew Cagney X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=070203902f1280ca0f55c92bce337298e3ccfa95;p=binutils-gdb.git 2003-04-30 Andrew Cagney * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e211fa16fff..efeced4515c 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 fe829a3200b..005b5c59db0 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. */