aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 01637fe..1faf071 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -574,7 +574,7 @@ mips_eabi_use_struct_convention (int gcc_p, struct type *type)
int
mips_n32n64_use_struct_convention (int gcc_p, struct type *type)
{
- return 1; /* Structures are returned by ref in extra arg0. */
+ return (TYPE_LENGTH (type) > 2 * MIPS_SAVED_REGSIZE);
}
int