summaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-04-02 23:20:50 +0000
committerAndrew Cagney <cagney@redhat.com>2004-04-02 23:20:50 +0000
commit6011ff3a536ef518d98c170cc24372301bab750f (patch)
treed56b633cb696676eef297028366ab5a7acfc5e4f /gdb/sh64-tdep.c
parentee87784b2ceb7e15e0cf7b349d452f3707cab2af (diff)
downloadgdb-6011ff3a536ef518d98c170cc24372301bab750f.tar.gz
2004-04-02 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_init_extra_frame_info): Replace DEPRECATED_CALL_DUMMY_LENGTH with 0, simplify. * dummy-frame.h: Delete out-of-date comments. * gdbarch.sh (DEPRECATED_CALL_DUMMY_LENGTH): Delete. * gdbarch.h, gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index 1d7b313ab1c..229cdf7aff6 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1224,7 +1224,7 @@ sh64_init_extra_frame_info (int fromleaf, struct frame_info *fi)
get_frame_extra_info (fi)->return_pc =
deprecated_read_register_dummy (get_frame_pc (fi),
get_frame_base (fi), PC_REGNUM);
- get_frame_extra_info (fi)->f_offset = -(DEPRECATED_CALL_DUMMY_LENGTH + 4);
+ get_frame_extra_info (fi)->f_offset = -4;
get_frame_extra_info (fi)->leaf_function = 0;
return;
}