aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-12-01 17:05:45 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-12-01 17:05:45 +0000
commit1cc759c321df0e05b76caefaeda38df47a77dbb1 (patch)
tree8f4f7c120d74b67b5539218b46cde7b3c952b213
parent44b263ce53e43964fd861a717524fe4c7a0c8351 (diff)
downloadbinutils-1cc759c321df0e05b76caefaeda38df47a77dbb1.zip
binutils-1cc759c321df0e05b76caefaeda38df47a77dbb1.tar.gz
binutils-1cc759c321df0e05b76caefaeda38df47a77dbb1.tar.bz2
* alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
the register value from the correct frame.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-tdep.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6e1576b..e9c9f5a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 5040a1d..71d29da 100644
--- a/gdb/alpha-tdep.c
+++ b/gdb/alpha-tdep.c
@@ -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 = {