aboutsummaryrefslogtreecommitdiff
path: root/gcc/frame.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>1997-10-07 18:42:54 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-10-07 14:42:54 -0400
commit13ab2b8367fcd4cb0016c1ff2c09793c22c9da8c (patch)
tree570efbb70b5084d0b975f6a558e00b8afb3f4376 /gcc/frame.c
parent066c2fea8d3b164eae61698058a85edf6d9fe2b4 (diff)
downloadgcc-13ab2b8367fcd4cb0016c1ff2c09793c22c9da8c.zip
gcc-13ab2b8367fcd4cb0016c1ff2c09793c22c9da8c.tar.gz
gcc-13ab2b8367fcd4cb0016c1ff2c09793c22c9da8c.tar.bz2
frame.c (__frame_state_for): Execute the FDE insns until the current pc value is strictly bigger than the...
* frame.c (__frame_state_for): Execute the FDE insns until the current pc value is strictly bigger than the target pc value. From-SVN: r15863
Diffstat (limited to 'gcc/frame.c')
-rw-r--r--gcc/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/frame.c b/gcc/frame.c
index f77f069..b13167e 100644
--- a/gcc/frame.c
+++ b/gcc/frame.c
@@ -599,7 +599,7 @@ __frame_state_for (void *pc_target, struct frame_state *state_in)
/* Then the insns in the FDE up to our target PC. */
end = next_fde (f);
pc = f->pc_begin;
- while (insn < end && pc < pc_target)
+ while (insn < end && pc <= pc_target)
insn = execute_cfa_insn (insn, &state, &info, &pc);
memcpy (state_in, &state.s, sizeof (state.s));