* alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
authorJoel Brobecker <brobecker@gnat.com>
Wed, 1 Dec 2004 17:05:45 +0000 (17:05 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 1 Dec 2004 17:05:45 +0000 (17:05 +0000)
        the register value from the correct frame.

gdb/ChangeLog
gdb/alpha-tdep.c

index 6e1576baa468674c18ebaf5da85e61ee9efe0619..e9c9f5a94f0587c3471f97c13744ff662a7cd0f7 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-01  Joel Brobecker  <brobecker@gnat.com>
+
+       * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
+       the register value from the correct frame.
+
 2004-11-30  Randolph Chung  <tausq@debian.org>
 
        * hppa-linux-tdep.c (insns_match_pattern_relaxed): New function.
index 5040a1d888e108fd5fafaf86acdcd78478b267b5..71d29dad88314cf363317c0d5ed9cd041fa39bde 100644 (file)
@@ -1190,8 +1190,8 @@ alpha_heuristic_frame_prev_register (struct frame_info *next_frame,
     }
 
   /* Otherwise assume the next frame has the same register value.  */
-  frame_register (next_frame, regnum, optimizedp, lvalp, addrp,
-                 realnump, bufferp);
+  frame_register_unwind (next_frame, regnum, optimizedp, lvalp, addrp,
+                         realnump, bufferp);
 }
 
 static const struct frame_unwind alpha_heuristic_frame_unwind = {