aboutsummaryrefslogtreecommitdiff
path: root/gdb/alphafbsd-tdep.c
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/alphafbsd-tdep.c
parentb83ef3ee2528cdc041f2850fd630ef2a5e037f3b (diff)
downloadgdb-9823e921f25c5221847898520b8be124b2ca0bec.zip
gdb-9823e921f25c5221847898520b8be124b2ca0bec.tar.gz
gdb-9823e921f25c5221847898520b8be124b2ca0bec.tar.bz2
* 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/alphafbsd-tdep.c')
-rw-r--r--gdb/alphafbsd-tdep.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/alphafbsd-tdep.c b/gdb/alphafbsd-tdep.c
index 08d3862..4ea9625 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;