diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-30 18:17:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-30 18:17:58 +0000 |
commit | 57e647e8249a21cb5f5bf9cd753efd9145c31843 (patch) | |
tree | 7c882396e8ce0983a2f5be93450a634f3d24ba3d | |
parent | 60df917b23055bf020af8695de7c2ff9b7e16af4 (diff) | |
download | gdb-57e647e8249a21cb5f5bf9cd753efd9145c31843.tar.gz |
2003-04-30 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 7 |
2 files changed, 9 insertions, 2 deletions
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 <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. 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. */ |