summaryrefslogtreecommitdiff
path: root/gdb/alpha-tdep.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2006-07-10 15:28:02 +0000
committerRichard Henderson <rth@redhat.com>2006-07-10 15:28:02 +0000
commit9823e921f25c5221847898520b8be124b2ca0bec (patch)
treec890f563b8df2b55659cd63fa6925fc8807bb4f0 /gdb/alpha-tdep.h
parentb83ef3ee2528cdc041f2850fd630ef2a5e037f3b (diff)
downloadbinutils-gdb-9823e921f25c5221847898520b8be124b2ca0bec.tar.gz
* alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
* alpha-tdep.c (alpha_register_byte): Remove. (alpha_extract_struct_value_address): Remove. (alpha_return_value): New. (alpha_return_in_memory_always): New. (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value instead of set_gdbarch_deprecated_use_struct_convention, set_gdbarch_extract_return_value, set_gdbarch_store_return_value, or set_gdbarch_deprecated_extract_struct_value_address. * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from alphafbsd_use_struct_convention, remove gcc_p argument. (alphafbsd_init_abi): Set tdep->return_in_memory instead of set_gdbarch_deprecated_use_struct_convention.
Diffstat (limited to 'gdb/alpha-tdep.h')
-rw-r--r--gdb/alpha-tdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/alpha-tdep.h b/gdb/alpha-tdep.h
index ab6be39125b..9ac564ef574 100644
--- a/gdb/alpha-tdep.h
+++ b/gdb/alpha-tdep.h
@@ -88,6 +88,9 @@ struct gdbarch_tdep
sigtramp unwinders. */
int (*pc_in_sigtramp) (CORE_ADDR pc, char *name);
+ /* If TYPE will be returned in memory, return true. */
+ int (*return_in_memory) (struct type *type);
+
/* Offset of registers in `struct sigcontext'. */
int sc_pc_offset;
int sc_regs_offset;