On Wed, Mar 12, 2014 at 8:33 AM, Peng Yuan wrote:
>
> I'm using backtrace() to obtain call context by sending signals. But
> program segfaults if the first instruction of a function receives
> signal for backtrace.
>
> ARM unwinding in libgcc uses "return_address -= 2" to get the caller
> address.
Hi,
I'm using backtrace() to obtain call context by sending signals. But
program segfaults if the first instruction of a function receives
signal for backtrace.
ARM unwinding in libgcc uses "return_address -= 2" to get the caller
address. It is OK for normal function call with "bl xxx". But it
ca