[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Libunwind-devel] Remote unwinding only?
From: |
Arun Sharma |
Subject: |
Re: [Libunwind-devel] Remote unwinding only? |
Date: |
Fri, 16 Sep 2011 09:31:21 -0700 |
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 :)
Yeah -DUNW_REMOTE_ONLY looks good to me.
-Arun