* ia64-tdep.c (examine_prologue): Correct array access.

This commit is contained in:
Daniel Jacobowitz
2008-03-31 03:38:48 +00:00
parent 11a0b582b3
commit b7d038ae9f
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
2008-03-19 Aleksandar Ristovski <aristovski@qnx.com> 2008-03-30 Daniel Jacobowitz <dan@codesourcery.com>
* ia64-tdep.c (examine_prologue): Correct array access.
2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
* cp-support.c (first_component_command): Return if no arguments. * cp-support.c (first_component_command): Return if no arguments.

View File

@ -1234,7 +1234,7 @@ examine_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct frame_info *next_frame,
spill_reg = rN; spill_reg = rN;
last_prologue_pc = next_pc; last_prologue_pc = next_pc;
} }
else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM] && else if (qp == 0 && rM >= 32 && rM < 40 && !instores[rM-32] &&
rN < 256 && imm == 0) rN < 256 && imm == 0)
{ {
/* mov rN, rM where rM is an input register */ /* mov rN, rM where rM is an input register */