* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
the trad-frame register value for the SP register.
This commit is contained in:
parent
adfef0bd47
commit
bfd66dd95a
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-30 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Set
|
||||
the trad-frame register value for the SP register.
|
||||
|
||||
2008-05-29 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* sparcnbsd-tdep.c, sparcobsd-tdep.c: Update for unwinder changes.
|
||||
|
|
|
@ -1149,6 +1149,11 @@ alpha_heuristic_frame_unwind_cache (struct frame_info *this_frame,
|
|||
if (trad_frame_addr_p(info->saved_regs, reg))
|
||||
info->saved_regs[reg].addr += val - 1;
|
||||
|
||||
/* The stack pointer of the previous frame is computed by popping
|
||||
the current stack frame. */
|
||||
if (!trad_frame_addr_p (info->saved_regs, ALPHA_SP_REGNUM))
|
||||
trad_frame_set_value (info->saved_regs, ALPHA_SP_REGNUM, info->vfp);
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue