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
This commit is contained in:
Olivier Hainque 2001-11-07 07:33:57 +01:00 committed by Richard Henderson
parent bc532bf72b
commit 90f4c415ef
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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>
* loop.c (loop_regs_scan): Don't invalidate PIC register.

View File

@ -700,7 +700,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
/* Don't allow remember/restore between CIE and FDE programs. */
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++;
_Unwind_Word reg, utmp;