From 1cc759c321df0e05b76caefaeda38df47a77dbb1 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 1 Dec 2004 17:05:45 +0000 Subject: [PATCH] * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch the register value from the correct frame. --- gdb/ChangeLog | 5 +++++ gdb/alpha-tdep.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e1576baa46..e9c9f5a94f0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-12-01 Joel Brobecker + + * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch + the register value from the correct frame. + 2004-11-30 Randolph Chung * hppa-linux-tdep.c (insns_match_pattern_relaxed): New function. diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 5040a1d888e..71d29dad883 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 = { -- 2.30.2