diff options
Diffstat (limited to 'gdb/m68k-tdep.h')
-rw-r--r-- | gdb/m68k-tdep.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/m68k-tdep.h b/gdb/m68k-tdep.h index a81cc8cf86a..702e4fc04d5 100644 --- a/gdb/m68k-tdep.h +++ b/gdb/m68k-tdep.h @@ -61,6 +61,14 @@ struct m68k_sigtramp_info int *sc_reg_offset; }; +/* Convention for returning structures. */ + +enum struct_return +{ + pcc_struct_return, /* Return "short" structures in memory. */ + reg_struct_return /* Return "short" structures in registers. */ +}; + /* Target-dependent structure in gdbarch. */ struct gdbarch_tdep { @@ -72,6 +80,9 @@ struct gdbarch_tdep /* Get info about sigtramp. */ struct m68k_sigtramp_info (*get_sigtramp_info) (struct frame_info *); + + /* Convention for returning structures. */ + enum struct_return struct_return; }; #endif /* M68K_TDEP_H */ |