aboutsummaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1995-02-12 18:51:42 +0000
committerPer Bothner <per@bothner.com>1995-02-12 18:51:42 +0000
commit5222ca60be5bf56265a53aad3df6303de53fd0af (patch)
treeb2ecc1aa51ee2abe68d3c3dd864c8517e165ebd6 /gdb/alpha-tdep.c
parent27202b6a4746af217ab914394a1ab9b111b1db3c (diff)
downloadgdb-5222ca60be5bf56265a53aad3df6303de53fd0af.zip
gdb-5222ca60be5bf56265a53aad3df6303de53fd0af.tar.gz
gdb-5222ca60be5bf56265a53aad3df6303de53fd0af.tar.bz2
* valops.c (value_arg_coerce): Now takes param_type argument.
(call_function_by_hand): Convert arguments with value_arg_coerce early, and overwrite original args with converted args. No longer need multiple calls to value_arg_coerce. (value_arg_push): Removed. * hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce. * mips-tdep.c (mips_push_arguments): Likewise. * alpha-tdep.c (alpha_push_arguments): Likewise. * rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments): Likewise. * value.h (value_arg_coerce): Remove declaration. (It's now static.) * valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r--gdb/alpha-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index ea6591f..b08fb20 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -680,7 +680,7 @@ alpha_push_arguments (nargs, args, sp, struct_return, struct_addr)
for (i = 0, m_arg = alpha_args; i < nargs; i++, m_arg++)
{
- value_ptr arg = value_arg_coerce (args[i]);
+ value_ptr arg = args[i];
/* Cast argument to long if necessary as the compiler does it too. */
if (TYPE_LENGTH (VALUE_TYPE (arg)) < TYPE_LENGTH (builtin_type_long))
arg = value_cast (builtin_type_long, arg);