Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: Dwarf-2 unwinding vs. manual prologue analysis
       [not found] ` <20050526150841.GA9804@nevyn.them.org>
@ 2005-05-27  9:26   ` Orjan Friberg
  2005-05-27 10:43   ` Orjan Friberg
  1 sibling, 0 replies; 2+ messages in thread
From: Orjan Friberg @ 2005-05-27  9:26 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Daniel Jacobowitz wrote:
> Please use gdb@ for questions; I expect most messages to gdb-patches to
> be in need of review :-)

Sorry about that.  Fixed (even though I guess it might break the threading).

> On Thu, May 26, 2005 at 04:59:05PM +0200, Orjan Friberg wrote:
>>
>>Do I need to able to do manual prologue analysis when there's Dwarf-2 CFI 
>>available?  If so, is there a set of minimum requirements for what that 
>>analysis must be able figure out?
> 
> 
> No.  If enabling the DWARF-2 CFI support causes things to break, then
> you need to inspect your CFI; it is probably broken.  

I'm not sure I understand what you mean.  Are you saying that the CFI might be 
broken if the manual prologue analysis is used in cases where the Dwarf-2 CFI 
should be available (and sufficient)?  Since I don't have a correct prologue 
scanner for CRISv32, nothing would work without having the Dwarf-2 frame sniffer 
hooked in.

> You need to do
> prologue analysis if there's anything without CFI that you need to
> handle, which there usually is - for instance PLT stubs.

Ok, I'll look into that.  Thanks.

-- 
Orjan Friberg
Axis Communications


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dwarf-2 unwinding vs. manual prologue analysis
       [not found] ` <20050526150841.GA9804@nevyn.them.org>
  2005-05-27  9:26   ` Dwarf-2 unwinding vs. manual prologue analysis Orjan Friberg
@ 2005-05-27 10:43   ` Orjan Friberg
  1 sibling, 0 replies; 2+ messages in thread
From: Orjan Friberg @ 2005-05-27 10:43 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Daniel Jacobowitz wrote:
> 
> No.  If enabling the DWARF-2 CFI support causes things to break, then
> you need to inspect your CFI; it is probably broken.  You need to do
> prologue analysis if there's anything without CFI that you need to
> handle, which there usually is - for instance PLT stubs.

Ah, now I see.  The things that broke without any prologue scanning were indeed 
things like 'next' over library calls (PLT stubs) and things related to call 
dummys (callfuncs.exp).

-- 
Orjan Friberg
Axis Communications


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-27 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4295E439.7070104@axis.com>
     [not found] ` <20050526150841.GA9804@nevyn.them.org>
2005-05-27  9:26   ` Dwarf-2 unwinding vs. manual prologue analysis Orjan Friberg
2005-05-27 10:43   ` Orjan Friberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox