2009-05-05 Maxim Grigoriev <maxim2405@gmail.com>
* xtensa-tdep.c (xtensa_frame_cache): Use pc instead of cache->pc.
This commit is contained in:
parent
3e6a008f65
commit
f6402f18d5
@ -1,3 +1,7 @@
|
|||||||
|
2009-05-05 Maxim Grigoriev <maxim2405@gmail.com>
|
||||||
|
|
||||||
|
* xtensa-tdep.c (xtensa_frame_cache): Use pc instead of cache->pc.
|
||||||
|
|
||||||
2009-05-05 Ulrich Weigand <uweigand@de.ibm.com>
|
2009-05-05 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* inferior.h (read_pc, write_pc): Remove.
|
* inferior.h (read_pc, write_pc): Remove.
|
||||||
|
@ -1242,7 +1242,7 @@ xtensa_frame_cache (struct frame_info *this_frame, void **this_cache)
|
|||||||
cache->wd.ws = ws & ~(1 << wb);
|
cache->wd.ws = ws & ~(1 << wb);
|
||||||
|
|
||||||
cache->pc = get_frame_func (this_frame);
|
cache->pc = get_frame_func (this_frame);
|
||||||
cache->ra = (cache->pc & 0xc0000000) | (ra & 0x3fffffff);
|
cache->ra = (pc & 0xc0000000) | (ra & 0x3fffffff);
|
||||||
cache->ps = (ps & ~PS_CALLINC_MASK)
|
cache->ps = (ps & ~PS_CALLINC_MASK)
|
||||||
| ((WINSIZE(ra)/4) << PS_CALLINC_SHIFT);
|
| ((WINSIZE(ra)/4) << PS_CALLINC_SHIFT);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user