This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch v4 12/24] frame, backtrace: allow targets to supply a frame unwinder
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 18 Aug 2013 21:14:38 +0200
- Subject: Re: [patch v4 12/24] frame, backtrace: allow targets to supply a frame unwinder
- References: <1372842874-28951-1-git-send-email-markus dot t dot metzger at intel dot com> <1372842874-28951-13-git-send-email-markus dot t dot metzger at intel dot com>
On Wed, 03 Jul 2013 11:14:22 +0200, Markus Metzger wrote:
> gdb/
> 2013-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
> earlier.
> * frame-unwind.c: Include target.h.
> (frame_unwind_try_unwinder): New function with code from ...
> (frame_unwind_find_by_frame): ... here. New variable
> unwinder_from_target, call also target_get_unwinder and
> frame_unwind_try_unwinder for it.
> * frame.c (get_frame_unwind_stop_reason): Unconditionally call
> get_prev_frame_1.
> * target.c (target_get_unwinder): New.
> * target.h (struct target_ops): New field to_get_unwinder.
> (target_get_unwinder): New declaration.
OK as review by Tom in February.
Message-ID: <87halipmrg.fsf@fleche.redhat.com>
Jan