OSDN Git Service

* alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop increment.
authorrth <rth>
Fri, 30 May 2003 18:41:38 +0000 (18:41 +0000)
committerrth <rth>
Fri, 30 May 2003 18:41:38 +0000 (18:41 +0000)
gdb/ChangeLog
gdb/alpha-tdep.c

index ef18af7..e75a738 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-30  Richard Henderson  <rth@redhat.com>
+
+       * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): Fix loop increment.
+
 2003-05-29  Jim Blandy  <jimb@redhat.com>
 
        Use gdbarch methods for solib stuff on PowerPC Linux.
index 6607527..2bd3b26 100644 (file)
@@ -856,6 +856,8 @@ alpha_heuristic_frame_unwind_cache (struct frame_info *next_frame,
                  return_reg = (word >> 16) & 0x1f;
                  break;
                }
+
+             cur_pc += 4;
            }
        }
     }