diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-07 06:33:57 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-11-07 06:33:57 +0000 |
| commit | e014a09c47b4e5049fc116459be687d03eb53b8e (patch) | |
| tree | 02ad9efdf74aee4bae70b8e26b6b86bdbb301b95 | |
| parent | dea91d925696474a2f1c46be32cf807fa663a2b8 (diff) | |
| download | ppe42-gcc-e014a09c47b4e5049fc116459be687d03eb53b8e.tar.gz ppe42-gcc-e014a09c47b4e5049fc116459be687d03eb53b8e.zip | |
* unwind-dw2.c (execute_cfa_program): Evaluate call frame
instructions up to the target pc inclusive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46818 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/unwind-dw2.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab7b2fad794..dab2e25d8d5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c index e013ce67317..5d335c6cc64 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; |

