aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1998-06-24 02:40:54 +0000
committerMark Alexander <marka@cygnus>1998-06-24 02:40:54 +0000
commit2f75adc0b26098c7ed430acc39899ca297df5517 (patch)
tree8770449d3877a84c8f3dc0eb0c2bf9be71e86d76 /gdb
parent56a72c45485b089a74977dd5a62e03383bd64f49 (diff)
downloadgdb-2f75adc0b26098c7ed430acc39899ca297df5517.zip
gdb-2f75adc0b26098c7ed430acc39899ca297df5517.tar.gz
gdb-2f75adc0b26098c7ed430acc39899ca297df5517.tar.bz2
* config/mn10200/tm-mn10200.h (SAVED_PC_AFTER_CALL): Don't
zero upper byte of address.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/mn10200/tm-mn10200.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 39facd4..77df93c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h
index 02c9d0c..94ab1c0 100644
--- a/gdb/config/mn10200/tm-mn10200.h
+++ b/gdb/config/mn10200/tm-mn10200.h
@@ -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;