summaryrefslogtreecommitdiff
path: root/gdb/alpha-mdebug-tdep.c
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2008-11-24 13:52:05 +0000
committerJerome Guitton <guitton@adacore.com>2008-11-24 13:52:05 +0000
commit88828b324a37d01871fc622152d7351a4d97e4d2 (patch)
tree49eb711f2ed07173b53c4f4be6d0984d0ed7ea7e /gdb/alpha-mdebug-tdep.c
parent7512c3973e35f12e076a0726fae6ce976da72251 (diff)
* alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Use
the frame address in block instead of the return address to locate the mdebug PDR of the frame.
Diffstat (limited to 'gdb/alpha-mdebug-tdep.c')
-rw-r--r--gdb/alpha-mdebug-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 0089561110..8288a82f38 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -193,7 +193,7 @@ alpha_mdebug_frame_unwind_cache (struct frame_info *this_frame,
info = FRAME_OBSTACK_ZALLOC (struct alpha_mdebug_unwind_cache);
*this_prologue_cache = info;
- pc = get_frame_pc (this_frame);
+ pc = get_frame_address_in_block (this_frame);
/* ??? We don't seem to be able to cache the lookup of the PDR
from alpha_mdebug_frame_p. It'd be nice if we could change