From: Daniel Jacobowitz Date: Mon, 31 Mar 2008 03:38:48 +0000 (+0000) Subject: * ia64-tdep.c (examine_prologue): Correct array access. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b7d038ae9f4a88775a2c2b6467d62889a6d016fa;p=deliverable%2Fbinutils-gdb.git * ia64-tdep.c (examine_prologue): Correct array access. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 75b9d934e1..aa1e7c02aa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,8 @@ -2008-03-19 Aleksandar Ristovski +2008-03-30 Daniel Jacobowitz + + * ia64-tdep.c (examine_prologue): Correct array access. + +2008-03-28 Aleksandar Ristovski * cp-support.c (first_component_command): Return if no arguments. diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index b724dda721..3876c23b72 100644 --- a/gdb/ia64-tdep.c +++ b/gdb/ia64-tdep.c @@ -1234,7 +1234,7 @@ examine_prologue (CORE_ADDR pc, CORE_ADDR lim_pc, struct frame_info *next_frame, spill_reg = rN; 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) { /* mov rN, rM where rM is an input register */