* findvar.c (value_from_register): H8500 specific, check to see

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.
This commit is contained in:
Stu Grossman 1993-04-02 02:47:05 +00:00
parent 0e18483336
commit ccced87a0b

View File

@ -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;