aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.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/regcache.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/regcache.c')
-rw-r--r--gdb/regcache.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c
index d933d59..b45740d 100644
--- a/gdb/regcache.c
+++ b/gdb/regcache.c
@@ -1166,9 +1166,7 @@ deprecated_write_sp (CORE_ADDR val)
CORE_ADDR
deprecated_read_fp (void)
{
- if (DEPRECATED_TARGET_READ_FP_P ())
- return DEPRECATED_TARGET_READ_FP ();
- else if (DEPRECATED_FP_REGNUM >= 0)
+ if (DEPRECATED_FP_REGNUM >= 0)
return read_register (DEPRECATED_FP_REGNUM);
else
internal_error (__FILE__, __LINE__, "deprecated_read_fp");