]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ia64-tdep.c (examine_prologue): Correct array access.
authorDaniel Jacobowitz <drow@false.org>
Mon, 31 Mar 2008 03:40:42 +0000 (03:40 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 31 Mar 2008 03:40:42 +0000 (03:40 +0000)
gdb/ChangeLog
gdb/ia64-tdep.c

index 89d5e3b1d66daa725f6d6be4e81bf7688f2cb5c1..324b653af9e9776959be02e2993f4081bc7aea87 100644 (file)
@@ -1,3 +1,7 @@
+2008-03-30  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * ia64-tdep.c (examine_prologue): Correct array access.
+
 2008-03-27  Joel Brobecker  <brobecker@adacore.com>
 
        * version.in: Set version to 6.8.0.20080327-cvs.
index b724dda721e3587e97540cdc377c98670d4bafcc..3876c23b72c3e5ab4fb0fada281709d06a37b80c 100644 (file)
@@ -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 */