aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-05-17 17:09:27 +0000
committerMichael Snyder <msnyder@vmware.com>2000-05-17 17:09:27 +0000
commitaca52a9bccedd1d8cbc5c03363eda5d7dcce6619 (patch)
tree0385d1843d8d9730033c9a04b8b96d5f2030552e /gdb/config/i386
parent3043679fe79aa535e47ec65f68b8a3c9c4813faf (diff)
downloadgdb-aca52a9bccedd1d8cbc5c03363eda5d7dcce6619.zip
gdb-aca52a9bccedd1d8cbc5c03363eda5d7dcce6619.tar.gz
gdb-aca52a9bccedd1d8cbc5c03363eda5d7dcce6619.tar.bz2
2000-05-12 Michael Snyder <msnyder@.cygnus.com>
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Define.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/tm-i386sol2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/config/i386/tm-i386sol2.h b/gdb/config/i386/tm-i386sol2.h
index a15d812..091f9a7 100644
--- a/gdb/config/i386/tm-i386sol2.h
+++ b/gdb/config/i386/tm-i386sol2.h
@@ -24,6 +24,14 @@
#define HAVE_I387_REGS
#include "i386/tm-i386v4.h"
+/* 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(formal, actual) (1)
+
/* Signal handler frames under Solaris 2 are recognized by a return address
of 0xFFFFFFFF, the third parameter on the signal handler stack is
a pointer to an ucontext. */