This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v9 16/29] frame, backtrace: allow targets to supply a frame unwinder
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 19 Dec 2013 18:41:31 +0000
- Subject: Re: [PATCH v9 16/29] frame, backtrace: allow targets to supply a frame unwinder
- Authentication-results: sourceware.org; auth=none
- References: <1387471499-29444-1-git-send-email-markus dot t dot metzger at intel dot com> <1387471499-29444-17-git-send-email-markus dot t dot metzger at intel dot com>
On 12/19/2013 04:44 PM, Markus Metzger wrote:
> Allow targets to supply their own target-specific frame unwinders; one for
> normal frames and one for tailcall frames. If a target-specific unwinder
> is supplied, it will be chosen before any other unwinder.
>
> The original patch has been split into this and the next two patches.
Looks good. I think a target interface that allowed the
target to try any number of unwinders in the order it preferred
would be better. E.g., by having a single target method that
returned a NULL terminated array of unwinders. Anyway, that can
always be changed later.
--
Pedro Alves