diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/rx-tdep.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5e8891..0958c5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2016-01-27 Kevin Buettner <kevinb@redhat.com> + + * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8 + bytes as aggregates. + 2016-01-27 Joel Brobecker <brobecker@adacore.com> * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 2732608..904aebd 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) |