aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-sol2-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-07-01 09:13:09 +0000
committerMark Kettenis <kettenis@gnu.org>2002-07-01 09:13:09 +0000
commit52e9098c242de8531191e7d57cef206379ca778c (patch)
tree08d220f084c14131fa543ad3c6c3511cf52fe5dd /gdb/i386-sol2-tdep.c
parent607c0e09443a78107c1019ef0573c74c9b1ba605 (diff)
downloadgdb-52e9098c242de8531191e7d57cef206379ca778c.zip
gdb-52e9098c242de8531191e7d57cef206379ca778c.tar.gz
gdb-52e9098c242de8531191e7d57cef206379ca778c.tar.bz2
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
* i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of this macro. Include "value.h".
Diffstat (limited to 'gdb/i386-sol2-tdep.c')
-rw-r--r--gdb/i386-sol2-tdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c
index 206e85c..2244643 100644
--- a/gdb/i386-sol2-tdep.c
+++ b/gdb/i386-sol2-tdep.c
@@ -19,6 +19,7 @@
Boston, MA 02111-1307, USA. */
#include "defs.h"
+#include "value.h"
#include "i386-tdep.h"
@@ -45,6 +46,10 @@ i386_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
set_gdbarch_pc_in_sigtramp (gdbarch, i386_sol2_pc_in_sigtramp);
tdep->sigtramp_saved_pc = i386bsd_sigtramp_saved_pc;
tdep->sc_pc_offset = 36 + 14 * 4;
+
+ /* Assume that the prototype flag can be trusted. */
+ set_gdbarch_coerce_float_to_double (gdbarch,
+ standard_coerce_float_to_double);
}