[Ltrace-devel] [PATCH] Add support for using elfutils as unwinder.

Petr Machata pmachata at redhat.com
Thu Jan 9 23:21:07 UTC 2014


Mark Wielaard <mjw at redhat.com> writes:

> On Thu, 2014-01-09 at 22:09 +0100, Petr Machata wrote:
>> I meant returning e.g. -2 instead of -1 as a result, just to indicate
>> that it unwound something, but had to give up.  Your solution with
>> "[...]"  seems reasonable.
>
> But that is easy to detect. We keep count of the frames unwound through
> the callback. So we now print an actual error if no frames could be
> unwound at all and " > [...]" otherwise.

Right, I hadn't realized that.

> Rebased patch attached.

Thanks, that is fine.  Applied now.

PM



More information about the Ltrace-devel mailing list