aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-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/hppa-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/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index c227b94..52f9b93 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -1367,9 +1367,6 @@ hppa_push_arguments (nargs, args, sp, struct_return, struct_addr)
for (i = 0; i < nargs; i++)
{
- /* Coerce chars to int & float to double if necessary */
- args[i] = value_arg_coerce (args[i]);
-
cum += TYPE_LENGTH (VALUE_TYPE (args[i]));
/* value must go at proper alignment. Assume alignment is a