From 331ae7edef62361ede14f99995e83d6ff8f4b698 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 3 Aug 2004 03:52:01 +0000 Subject: 2004-08-02 Andrew Cagney * 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. --- gdb/frame-base.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gdb/frame-base.c') 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); } -- cgit v1.1