aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2003-06-02 16:18:32 +0000
committerRichard Henderson <rth@redhat.com>2003-06-02 16:18:32 +0000
commiteb4edb88d892f8d7a88291095eb5577563ac0fec (patch)
treea5e1347963978cb8a9b4d29729cf8f35a11eab33 /gdb
parent0ede8ecaa06c0d3981bae4bd9015f19bcad25e79 (diff)
downloadgdb-eb4edb88d892f8d7a88291095eb5577563ac0fec.zip
gdb-eb4edb88d892f8d7a88291095eb5577563ac0fec.tar.gz
gdb-eb4edb88d892f8d7a88291095eb5577563ac0fec.tar.bz2
* alpha-tdep.c (alpha_push_dummy_call): Use
builtin_type_ieee_double_little instead of builtin_type_double.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/alpha-tdep.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 886ffae..acb7127 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2003-06-02 Richard Henderson <rth@redhat.com>
+ * alpha-tdep.c (alpha_push_dummy_call): Use
+ builtin_type_ieee_double_little instead of builtin_type_double.
+
* alpha-tdep.c (alpha_push_dummy_call): Handle ABI mandated
sign-extension of 32-bit values.
(alpha_store_return_value): Similarly.
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 8dd2d0d..11d46ce 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -296,7 +296,7 @@ alpha_push_dummy_call (struct gdbarch *gdbarch, CORE_ADDR func_addr,
if (accumulate_size < sizeof (arg_reg_buffer)
&& TYPE_LENGTH (arg_type) == 4)
{
- arg_type = builtin_type_double;
+ arg_type = builtin_type_ieee_double_little;
arg = value_cast (arg_type, arg);
}
/* Tru64 5.1 has a 128-bit long double, and passes this by