This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Improve amd64 prologue analysis
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>, kettenis at gnu dot org, Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Date: Tue, 14 Dec 2010 09:57:53 +0000
- Subject: Re: [RFC] Improve amd64 prologue analysis
- References: <001701cb84ea$6883c170$398b4450$@muller@ics-cnrs.unistra.fr> <000901cb883c$067a8860$136f9920$@muller@ics-cnrs.unistra.fr> <20101214070535.GO2596@adacore.com>
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