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: Wed, 29 Mar 2017 08:12:14 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On 03/27/17 05:36 PM, Doug Moore wrote:
> It looks like the call to tdep_fetch_frame in fetch_proc_info would determine 
> whether or not this was a signal frame, and thus whether or not we needed to 
> use the previous instruction for the lookup.
> 
> Of course, we call tdep_fetch_frame only after we’ve already tried that 
> lookup.  But perhaps some of the work done to identify signal frames could be 
> moved up a bit, so that a better decision could be made about whether or not 
> to use the previous instruction.
> 
> Does that make any sense?

But I think we need to know the IP to detect signal frames? 

My thought was that if IP-1 lookup failed, we could try IP lookup, and
if it was a signal frame, use that instead (probably with verify=1)



reply via email to

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