This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v9 16/29] frame, backtrace: allow targets to supply a frame unwinder


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]