diff options
author | Jerome Guitton <guitton@adacore.com> | 2008-11-24 13:52:05 +0000 |
---|---|---|
committer | Jerome Guitton <guitton@adacore.com> | 2008-11-24 13:52:05 +0000 |
commit | 88828b324a37d01871fc622152d7351a4d97e4d2 (patch) | |
tree | 49eb711f2ed07173b53c4f4be6d0984d0ed7ea7e /gdb/alpha-mdebug-tdep.c | |
parent | 7512c3973e35f12e076a0726fae6ce976da72251 (diff) | |
download | gdb-88828b324a37d01871fc622152d7351a4d97e4d2.zip gdb-88828b324a37d01871fc622152d7351a4d97e4d2.tar.gz gdb-88828b324a37d01871fc622152d7351a4d97e4d2.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c index 0089561..8288a82 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 |