diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-09 15:00:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-09 15:00:23 +0000 |
commit | f7b61d6f9373d6bdffaabae71f13168c0d1233f4 (patch) | |
tree | f83e89192e322fb4d24cf9ad407ae9a93d5d7558 | |
parent | 8e1a6b8aee9595112b67a3d7b1d5d5cf21d1d250 (diff) | |
download | gdb-f7b61d6f9373d6bdffaabae71f13168c0d1233f4.tar.gz |
2003-09-09 Andrew Cagney <cagney@redhat.com>
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sh64-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d79901474e8..d8a73190097 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-09-09 Andrew Cagney <cagney@redhat.com> + + * sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS + instead of CALL_DUMMY_ADDRESS. + 2003-09-09 Paul N. Hilfinger <hilfingr@gnat.com> * p-lang.c: Eliminate "register". diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c index eab0e7e6f4f..e93fb233a8e 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; } |