aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-09 15:00:23 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-09 15:00:23 +0000
commite8a7b686ffab6f15e4d30df4abbb1ed7096122b9 (patch)
tree929a2c84ce62e2fbfa4f1384392961585dbac2fa /gdb/sh64-tdep.c
parent3091e5170699fb84c0987854dfd32d5988c20a3b (diff)
downloadgdb-e8a7b686ffab6f15e4d30df4abbb1ed7096122b9.zip
gdb-e8a7b686ffab6f15e4d30df4abbb1ed7096122b9.tar.gz
gdb-e8a7b686ffab6f15e4d30df4abbb1ed7096122b9.tar.bz2
2003-09-09 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS instead of CALL_DUMMY_ADDRESS.
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 eab0e7e..e93fb23 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1650,7 +1650,7 @@ sh64_push_arguments (int nargs, struct value **args, CORE_ADDR sp,
static CORE_ADDR
sh64_push_return_address (CORE_ADDR pc, CORE_ADDR sp)
{
- write_register (PR_REGNUM, CALL_DUMMY_ADDRESS ());
+ write_register (PR_REGNUM, entry_point_address ());
return sp;
}