* config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
authorMark Alexander <marka@cygnus>
Wed, 24 Jun 1998 02:40:54 +0000 (02:40 +0000)
committerMark Alexander <marka@cygnus>
Wed, 24 Jun 1998 02:40:54 +0000 (02:40 +0000)
zero upper byte of address.

gdb/ChangeLog
gdb/config/mn10200/tm-mn10200.h

index 39facd43d5cba1a0be768af1e2bd686f777dda31..77df93c911e7d2cd54b3be69c63e6efb060314a2 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jun 23 19:37:46 1998  Mark Alexander  <marka@cygnus.com>
+
+       * config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL):  Don't
+       zero upper byte of address.
+
 Tue Jun 23 17:32:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>
 
        * rs6000-tdep.c (pop_dummy_frame): use memcpy. 
index 02c9d0c4e07dabd45ccb85c75cc8a0779a9f86dd..94ab1c0ca81468cd2c2b9834ce5762b2a3a46b40 100644 (file)
@@ -89,7 +89,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define INNER_THAN <
 
 #define SAVED_PC_AFTER_CALL(frame) \
-  (read_memory_integer (read_register (SP_REGNUM), REGISTER_SIZE) & 0xffff)
+  (read_memory_integer (read_register (SP_REGNUM), REGISTER_SIZE) & 0xffffff)
 
 #ifdef __STDC__
 struct frame_info;