OSDN Git Service

* alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
authorbrobecke <brobecke>
Wed, 1 Dec 2004 17:05:44 +0000 (17:05 +0000)
committerbrobecke <brobecke>
Wed, 1 Dec 2004 17:05:44 +0000 (17:05 +0000)
        the register value from the correct frame.

gdb/ChangeLog
gdb/alpha-tdep.c

index 6e1576b..e9c9f5a 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 5040a1d..71d29da 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 = {