aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m68k-tdep.h')
-rw-r--r--gdb/m68k-tdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/m68k-tdep.h b/gdb/m68k-tdep.h
index 1567505abf8..513190fe8cc 100644
--- a/gdb/m68k-tdep.h
+++ b/gdb/m68k-tdep.h
@@ -79,6 +79,10 @@ struct gdbarch_tdep
passed to a function. */
int struct_value_regnum;
+ /* Register in which a pointer value is returned. In the SVR4 ABI,
+ this is %a0, but in GCC's "embedded" ABI, this is %d0. */
+ int pointer_result_regnum;
+
/* Convention for returning structures. */
enum struct_return struct_return;