diff options
author | Mark Alexander <marka@cygnus> | 1998-06-24 02:40:54 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1998-06-24 02:40:54 +0000 |
commit | 2f75adc0b26098c7ed430acc39899ca297df5517 (patch) | |
tree | 8770449d3877a84c8f3dc0eb0c2bf9be71e86d76 /gdb | |
parent | 56a72c45485b089a74977dd5a62e03383bd64f49 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/config/mn10200/tm-mn10200.h | 2 |
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; |