This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[oops] Fix sh64 entry_point_address


This slipped around my other cleanup.

committed,
Andrew
2003-09-09  Andrew Cagney  <cagney@redhat.com>

	* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS
	instead of CALL_DUMMY_ADDRESS.

Index: sh64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sh64-tdep.c,v
retrieving revision 1.1
diff -u -r1.1 sh64-tdep.c
--- sh64-tdep.c	8 Sep 2003 11:26:20 -0000	1.1
+++ sh64-tdep.c	9 Sep 2003 14:58:55 -0000
@@ -1650,7 +1650,7 @@
 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;
 }
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]