diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5e88914f1..0958c5b2c7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-01-27 Kevin Buettner + + * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 + bytes as aggregates. + 2016-01-27 Joel Brobecker * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 2732608d61..904aebd801 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -813,7 +813,8 @@ rx_push_dummy_call (struct gdbarch *gdbarch, struct value *function, struct_addr); } else if (TYPE_CODE (arg_type) != TYPE_CODE_STRUCT - && TYPE_CODE (arg_type) != TYPE_CODE_UNION) + && TYPE_CODE (arg_type) != TYPE_CODE_UNION + && arg_size <= 8) { /* Argument is a scalar. */ if (arg_size == 8)