From: Jerome Guitton Date: Mon, 24 Nov 2008 13:52:05 +0000 (+0000) Subject: * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind_cache): Use X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88828b324a37d01871fc622152d7351a4d97e4d2;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a38354d5865..14dce0392c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2008-11-24 Jerome Guitton + + * 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 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 00895611108..8288a82f388 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