aboutsummaryrefslogtreecommitdiff
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
commit7d6a26a7dc968a6be160d59fe45219bd646b1a1c (patch)
treef1f1b7bee5b799dd8a93ea40a8484bf949b89d30 /gdb/gdbarch.c
parentaeb5439ec8681a66d6aad77c671103cfcf2cc8f8 (diff)
downloadgdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.zip
gdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.tar.gz
gdb-7d6a26a7dc968a6be160d59fe45219bd646b1a1c.tar.bz2
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 5b25678..71cf798 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;