[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] Remote unwinding only?

From: Ken Werner
Subject: Re: [Libunwind-devel] Remote unwinding only?
Date: Thu, 13 Oct 2011 18:25:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 09/16/2011 06:31 PM, Arun Sharma wrote:
On Thu, Sep 15, 2011 at 12:47 AM, Ken Werner<address@hidden>  wrote:

Exactly. I've ported libunwind to work on Android and hacked the debuggerd
to make use of libunwind-ptrace to dump stack traces. The other reason I
wanted a libunwind with remote unwinding capabilities only is that bionic
(Androids libc) doesn't support dl_iterate_phdr which would be essential for
local unwinding.

A standalone async signal safe dl_iterate_phdr() with minimal hooks
may not be such a bad thing :)

I agree. :)

Yeah -DUNW_REMOTE_ONLY looks good to me.

Since libunwind-ptrace is using the remote interface I had to tweak the sources a bit. The patches can be found at:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]