Commit 90f4c415 by Olivier Hainque Committed by Richard Henderson

unwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target pc inclusive.

        * unwind-dw2.c (execute_cfa_program): Evaluate call frame
        instructions up to the target pc inclusive.

From-SVN: r46818
parent bc532bf7
2001-11-06 Olivier Hainque <hainque@act-europe.fr>
* unwind-dw2.c (execute_cfa_program): Evaluate call frame
instructions up to the target pc inclusive.
2001-11-06 Steve Christiansen <smc@us.ibm.com> 2001-11-06 Steve Christiansen <smc@us.ibm.com>
* loop.c (loop_regs_scan): Don't invalidate PIC register. * loop.c (loop_regs_scan): Don't invalidate PIC register.
......
...@@ -700,7 +700,7 @@ execute_cfa_program (const unsigned char *insn_ptr, ...@@ -700,7 +700,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
/* Don't allow remember/restore between CIE and FDE programs. */ /* Don't allow remember/restore between CIE and FDE programs. */
fs->regs.prev = NULL; fs->regs.prev = NULL;
while (insn_ptr < insn_end && fs->pc < context->ra) while (insn_ptr < insn_end && fs->pc <= context->ra)
{ {
unsigned char insn = *insn_ptr++; unsigned char insn = *insn_ptr++;
_Unwind_Word reg, utmp; _Unwind_Word reg, utmp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment