diff options
Diffstat (limited to 'gdb/value.c')
-rw-r--r-- | gdb/value.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.c b/gdb/value.c index e9dfe6a..aec3b4b 100644 --- a/gdb/value.c +++ b/gdb/value.c @@ -2138,7 +2138,8 @@ coerce_array (struct value *arg) address as a hidden first parameter). */ int -using_struct_return (struct type *func_type, struct type *value_type) +using_struct_return (struct gdbarch *gdbarch, + struct type *func_type, struct type *value_type) { enum type_code code = TYPE_CODE (value_type); @@ -2151,7 +2152,7 @@ using_struct_return (struct type *func_type, struct type *value_type) return 0; /* Probe the architecture for the return-value convention. */ - return (gdbarch_return_value (current_gdbarch, func_type, value_type, + return (gdbarch_return_value (gdbarch, func_type, value_type, NULL, NULL, NULL) != RETURN_VALUE_REGISTER_CONVENTION); } |