aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame-base.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-03 03:52:01 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-03 03:52:01 +0000
commit331ae7edef62361ede14f99995e83d6ff8f4b698 (patch)
tree3c652191e12413e086b40b7034a942b564da1213 /gdb/frame-base.c
parent1e2279c81a35ee95c0f256cd6d5fd922b4dc74af (diff)
downloadgdb-331ae7edef62361ede14f99995e83d6ff8f4b698.zip
gdb-331ae7edef62361ede14f99995e83d6ff8f4b698.tar.gz
gdb-331ae7edef62361ede14f99995e83d6ff8f4b698.tar.bz2
2004-08-02 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (deprecated_target_read_fp) (deprecated_frame_locals_address, deprecated_frame_args_address) (deprecated_frame_chain_valid, deprecated_frame_chain) (deprecated_init_extra_frame_info, deprecated_pop_frame) (deprecated_frame_init_saved_regs, deprecated_get_saved_register) (deprecated_do_registers_info, deprecated_init_frame_pc): Delete. * gdbarch.h, gdbarch.c: Re-generate. * regcache.c (deprecated_read_fp): Do not call DEPRECATED_TARGET_READ_FP_P. * infcmd.c (default_print_registers_info): Do not call DEPRECATED_DO_REGISTERS_INFO. * frame-base.c (default_frame_locals_address): Do not call DEPRECATED_FRAME_LOCALS_ADDRESS. (default_frame_args_address): Do not call DEPRECATED_FRAME_ARGS_ADDRESS.
Diffstat (limited to 'gdb/frame-base.c')
-rw-r--r--gdb/frame-base.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/frame-base.c b/gdb/frame-base.c
index 0fce6bc..0961033 100644
--- a/gdb/frame-base.c
+++ b/gdb/frame-base.c
@@ -39,24 +39,12 @@ default_frame_base_address (struct frame_info *next_frame, void **this_cache)
static CORE_ADDR
default_frame_locals_address (struct frame_info *next_frame, void **this_cache)
{
- if (DEPRECATED_FRAME_LOCALS_ADDRESS_P ())
- {
- /* This is bad. The computation of per-frame locals address
- should use a per-frame frame-base. */
- struct frame_info *this_frame = get_prev_frame (next_frame);
- return DEPRECATED_FRAME_LOCALS_ADDRESS (this_frame);
- }
return default_frame_base_address (next_frame, this_cache);
}
static CORE_ADDR
default_frame_args_address (struct frame_info *next_frame, void **this_cache)
{
- if (DEPRECATED_FRAME_ARGS_ADDRESS_P ())
- {
- struct frame_info *this_frame = get_prev_frame (next_frame);
- return DEPRECATED_FRAME_ARGS_ADDRESS (this_frame);
- }
return default_frame_base_address (next_frame, this_cache);
}