diff options
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 993f71e..e524509 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -105,6 +105,17 @@ struct { #define IS_FMOV(x) (((x) & 0xf00f) == 0xf00b) #define FPSCR_SZ (1 << 20) + +/* Should call_function allocate stack space for a struct return? */ +int +sh_use_struct_convention (gcc_p, type) + int gcc_p; + struct type *type; +{ + return (TYPE_LENGTH (type) > 1); +} + + /* Skip any prologue before the guts of a function */ CORE_ADDR |