aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sparc
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-02-21 03:38:45 +0000
committerFred Fish <fnf@specifix.com>1996-02-21 03:38:45 +0000
commite7107962d11ad832fb44964bbc6bc7fbdd79b701 (patch)
treee705cba8ac4cdd13297b1d3ca573a49a0511486a /gdb/config/sparc
parent45c5fa7891e5cb7baaec3b5d4daa291c6788e962 (diff)
downloadgdb-e7107962d11ad832fb44964bbc6bc7fbdd79b701.zip
gdb-e7107962d11ad832fb44964bbc6bc7fbdd79b701.tar.gz
gdb-e7107962d11ad832fb44964bbc6bc7fbdd79b701.tar.bz2
* config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
* config/mips/tm-mips.h: Ditto. * config/pa/tm-hppa.h: Ditto. * config/rs6000/tm-rs6000.h: Ditto. * config/sparc/tm-sparc.h: Ditto.
Diffstat (limited to 'gdb/config/sparc')
-rw-r--r--gdb/config/sparc/tm-sparc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h
index a106f0c..5081064 100644
--- a/gdb/config/sparc/tm-sparc.h
+++ b/gdb/config/sparc/tm-sparc.h
@@ -634,3 +634,9 @@ extern int deferred_stores;
target_store_registers (-2);
#define CLEAR_DEFERRED_STORES \
deferred_stores = 0;
+
+/* If the current gcc for for this target does not produce correct debugging
+ information for float parameters, both prototyped and unprototyped, then
+ define this macro. This forces gdb to always assume that floats are
+ passed as doubles and then converted in the callee. */
+#define COERCE_FLOAT_TO_DOUBLE 1