aboutsummaryrefslogtreecommitdiff
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
commitddc135a4120b0abe7833c16c234e1f92ddedd9da (patch)
tree86214931a5f40195e2c8bcf0e3f10bfa1d7ed0b6 /gdb/sh64-tdep.c
parentd15bfd3a43117017e919e0b1fc2bb09a7dd535fd (diff)
downloadgdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.zip
gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.gz
gdb-ddc135a4120b0abe7833c16c234e1f92ddedd9da.tar.bz2
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 1d7b313..229cdf7 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;
}