2003-09-09 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 2003 15:00:23 +0000 (15:00 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 9 Sep 2003 15:00:23 +0000 (15:00 +0000)
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
instead of CALL_DUMMY_ADDRESS.

gdb/ChangeLog
gdb/sh64-tdep.c

index d79901474e83b8efe4fd1ae7bf2e831dcdb5a06c..d8a73190097a67483801235f048804d54212d293 100644 (file)
@@ -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".
index eab0e7e6f4fdc556e9b713e40f23c7bb9894eb62..e93fb233a8eec5406fed4b4e0201cd30cab1420a 100644 (file)
@@ -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;
 }