summaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-25 04:47:56 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-25 04:47:56 +0000
commitfa4ee59046a31debd82978d97029e3faff0bd493 (patch)
treeed5c89b7d5d8e493afdcf936f323ef164d697335 /gdb/gdbarch.c
parent8f9c4e1d362508b412559a23b6bb889e66da72ed (diff)
downloadgdb-fa4ee59046a31debd82978d97029e3faff0bd493.tar.gz
2002-11-24 Andrew Cagney <ac131313@redhat.com>
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change default to get_frame_base. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (default_frame_address): Delete function. * arch-utils.h (default_frame_address): Delete declaration
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 5b256788a81..71cf79815d3 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -556,8 +556,8 @@ gdbarch_alloc (const struct gdbarch_info *info,
current_gdbarch->frame_args_skip = -1;
current_gdbarch->frameless_function_invocation = generic_frameless_function_invocation_not;
current_gdbarch->frame_chain_valid = generic_func_frame_chain_valid;
- current_gdbarch->frame_args_address = default_frame_address;
- current_gdbarch->frame_locals_address = default_frame_address;
+ current_gdbarch->frame_args_address = get_frame_base;
+ current_gdbarch->frame_locals_address = get_frame_base;
current_gdbarch->extra_stack_alignment_needed = 1;
current_gdbarch->convert_from_func_ptr_addr = core_addr_identity;
current_gdbarch->addr_bits_remove = core_addr_identity;