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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/alpha-mdebug-tdep.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a38354d..14dce03 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-11-24 Jerome Guitton <guitton@adacore.com> + + * 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. + 2008-11-21 Joel Brobecker <brobecker@adacore.com> Remove the unused BPSTAT_WHAT_CHECK_SHLIBS_RESUME_FROM_HOOK. 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 |