[RFC] Improve amd64 prologue analysis

Pedro Alves pedro@codesourcery.com
Tue Dec 14 09:58:00 GMT 2010


On Tuesday 14 December 2010 07:05:35, Joel Brobecker wrote:
> Hi Mark,
> 
> >    I think that your code does indeed catch some 
> > instructions that are not covered by my patch,
> > especially in Windows DLL.
> 
> If Pierre were to submit a patch that merges both our changes,
> do you think it would have a chance of being included?
> 
> The alternative is to start working on a pdata/xdata unwinder,
> but I don't see myself having the time to look into that anytime
> soon (not within the next 12 months).
> 
> You mentioned that, if we have prologue instruction parsers, they should
> be Windows-specific.  But I would think that this extra level of
> precaution is unnecessary, since the prologue analyzer should almost
> never be used on the other platforms where we have the DWARF frame info.
> Is that wishful thinking?

I imagine that for Wine debugging, table based SEH unwinding in
linux code will be useful.

-- 
Pedro Alves



More information about the Gdb-patches mailing list