From f8feb739bbe2d92ddcd14fadc5da4034a7bed156 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 10 Jul 2006 15:28:02 +0000 Subject: * 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. --- gdb/alphafbsd-tdep.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gdb/alphafbsd-tdep.c') diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c index 08d38629e10..4ea9625ecce 100644 --- a/gdb/alphafbsd-tdep.c +++ b/gdb/alphafbsd-tdep.c @@ -27,7 +27,7 @@ #include "solib-svr4.h" static int -alphafbsd_use_struct_convention (int gcc_p, struct type *type) +alphafbsd_return_in_memory (struct type *type) { enum type_code code; int i; @@ -104,12 +104,10 @@ alphafbsd_init_abi (struct gdbarch_info info, set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_lp64_fetch_link_map_offsets); - set_gdbarch_deprecated_use_struct_convention - (gdbarch, alphafbsd_use_struct_convention); - tdep->dynamic_sigtramp_offset = alphafbsd_sigtramp_offset; tdep->sigcontext_addr = alphafbsd_sigcontext_addr; tdep->pc_in_sigtramp = alphafbsd_pc_in_sigtramp; + tdep->return_in_memory = alphafbsd_return_in_memory; tdep->sc_pc_offset = 288; tdep->sc_regs_offset = 24; tdep->sc_fpregs_offset = 320; -- cgit v1.2.1