libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] use_prev_instr breaking unwind - how to stop it?


From: Dave Watson
Subject: Re: [Libunwind-devel] use_prev_instr breaking unwind - how to stop it?
Date: Thu, 30 Mar 2017 14:04:43 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On 03/30/17 12:00 PM, Doug Moore wrote:
> Documentation has to change anyway, since the unw_init_local docs are
> currently broken.
> 
> Decrementing the ip for my case (using unw_set_reg) gets me through a few
> unw_step calls successfully, then crashes the program.

Do you know why this crashes?  I would have thought incrementing the
IP was the same as setting use_prev_instr=0.

> So, instead, I’ve attached a patch to add unw_local_init_signal to
>  the API, to solve my problem. Please consider it.

Thanks Doug



reply via email to

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