Commit 13ab2b83 by Andreas Schwab Committed by Jason Merrill

frame.c (__frame_state_for): Execute the FDE insns until the current pc value is…

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
parent 066c2fea
1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* frame.c (__frame_state_for): Execute the FDE insns until the
current pc value is strictly bigger than the target pc value.
Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com> Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
* regclass.c (init_reg_modes): If we can't find a mode for the * regclass.c (init_reg_modes): If we can't find a mode for the
......
...@@ -599,7 +599,7 @@ __frame_state_for (void *pc_target, struct frame_state *state_in) ...@@ -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. */ /* Then the insns in the FDE up to our target PC. */
end = next_fde (f); end = next_fde (f);
pc = f->pc_begin; pc = f->pc_begin;
while (insn < end && pc < pc_target) while (insn < end && pc <= pc_target)
insn = execute_cfa_insn (insn, &state, &info, &pc); insn = execute_cfa_insn (insn, &state, &info, &pc);
memcpy (state_in, &state.s, sizeof (state.s)); memcpy (state_in, &state.s, sizeof (state.s));
......
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