summaryrefslogtreecommitdiff
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
commit070ffaa70bc3f476205e8a3e72506a0eed6fe053 (patch)
tree056470b6a3f1fe08a13fb4b6152c0e262f957dd2 /gdb/frame-base.c
parent9ea89f9cd51ad694cdce86b23efa551966b9db8f (diff)
downloadgdb-070ffaa70bc3f476205e8a3e72506a0eed6fe053.tar.gz
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 0fce6bcfce9..0961033b3eb 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);
}