OSDN Git Service

* s390-tdep.c: Tweak argument-passing to match GCC bugs.
authorjimb <jimb>
Fri, 16 Nov 2001 21:40:35 +0000 (21:40 +0000)
committerjimb <jimb>
Fri, 16 Nov 2001 21:40:35 +0000 (21:40 +0000)
commit8c3ad18f84467d58e1125fd57a885916a07cf6d2
tree3767496e61fe293034dacce5a9a92ed5e5abb750
parent2b15272aea9960cc7bf60f1756cec00f5e91de36
* s390-tdep.c: Tweak argument-passing to match GCC bugs.
(is_float_singleton, is_struct_like, is_float_like): New
functions, that isolate the weirdness.
(is_double_or_float, is_simple_arg, pass_by_copy_ref,
is_double_arg): Use is_struct_like and is_float_like, rather than
testing the type codes ourselves.
(s390_push_arguments): When passing args on the stack, align each
on to a four-byte boundary, regardless of what the type itself
needs.
gdb/ChangeLog
gdb/s390-tdep.c