projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e18483
)
* findvar.c (value_from_register): H8500 specific, check to see
author
Stu Grossman
<grossman@cygnus>
Fri, 2 Apr 1993 02:47:05 +0000
(
02:47
+0000)
committer
Stu Grossman
<grossman@cygnus>
Fri, 2 Apr 1993 02:47:05 +0000
(
02:47
+0000)
if we are looking at short pointer. If so, skip crock.
* h8500-tdep.c (h8500_frame_chain): Mask down value from
read_memory_integer() to avoid getting messed up by sign extension.
gdb/h8500-tdep.c
patch
|
blob
|
history
diff --git
a/gdb/h8500-tdep.c
b/gdb/h8500-tdep.c
index fc16764806259129b4e56b019fd81f07459e3ae6..e88aaccee749b2a0f5d682bf06d0d15ee710c107 100644
(file)
--- a/
gdb/h8500-tdep.c
+++ b/
gdb/h8500-tdep.c
@@
-128,7
+128,7
@@
h8500_frame_chain (thisframe)
{
if (!inside_entry_file (thisframe->pc))
- return
read_memory_integer(thisframe->frame, 2
)
+ return
(read_memory_integer(thisframe->frame, 2) & 0xffff
)
| (read_register(SEG_T_REGNUM) << 16);
else
return 0;