From 90f4c415efc65ccd45f21f4a13f276e7f0332398 Mon Sep 17 00:00:00 2001 From: Olivier Hainque Date: Wed, 7 Nov 2001 07:33:57 +0100 Subject: 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 --- gcc/unwind-dw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/unwind-dw2.c') diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index e013ce6..5d335c6 100644 --- a/gcc/unwind-dw2.c +++ b/gcc/unwind-dw2.c @@ -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; -- cgit v1.1