This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Windows x64 SEH unwinder (v2)
- From: Tristan Gingold <gingold at adacore dot com>
- To: Roland Schwingel <roland dot schwingel at onevision dot de>, Pedro Alves <palves at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 21 Aug 2013 15:45:43 +0200
- Subject: Re: [RFA] Windows x64 SEH unwinder (v2)
- References: <52124156 dot 2080006 at onevision dot de>
On Aug 19, 2013, at 6:01 PM, Roland Schwingel <roland.schwingel@onevision.de> wrote:
> Hi Tristan,
>
> > I do not have this issue with the compiler installed here.
> >
> > Can you send me (privately) your binary ?
> Sure. Will come in the next couple of minutes.
I think I understand the issue.
This is caused by DW_OP_call_frame_cfa, which is supported only by
the dwarf2 unwinder.
This issue has been fixed in gcc (CL date is 2012-03-15).
I see two ways to fix that issue:
* have a command to disable the SEH unwinder. That will also add support
for gcc releases before 4.7
* handle seh unwinder in dwarf2_frame_cfa (not sure it is easy nor enough,
so better to avoid this option).
Finally, we could ignore this issue and propose to backport (at least for
mingw64) the gcc patchlet.
Opinions ?
Tristan.