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>
- Cc: Joel Brobecker <brobecker at adacore dot com>, "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>, Pedro Alves <palves at redhat dot com>
- Date: Mon, 19 Aug 2013 17:32:35 +0200
- Subject: Re: [RFA] Windows x64 SEH unwinder (v2)
- References: <52123653 dot 7000006 at onevision dot de>
On Aug 19, 2013, at 5:14 PM, Roland Schwingel <roland.schwingel@onevision.de> wrote:
> Hi Tristan...
>
> > > Stack frames are way better... Congratulations... But:
> > > When inspecting frames I see problems showing the content of
> > variables. I cannot look into any of the applications vars. gdb
> > just shows eg:
> >
> > > #1: 0x0000000000401577 in func4 (num=<error reading variable:
> > can't compute CFA for this frame>) at gdb_crash.c:26
> > >
> > > also a "p num" show the same error.
> > >
> > > Did I do something wrong? Is there a hidden trick that needs to be
> > applied to get this going that I couldn't find from reading the patch?
> >
> > Doesn't ring a bell here. Can you post gdb_crash.c ?
>
> The example program is part of my initial post.
> (http://sourceware.org/ml/gdb/2005-04/msg00113.html)
>
> For compiling it I simply did a
> /path/to/my/x86_64-w64-mingw32-gcc.exe -g gdb_crash.c -o gdb_crash.exe
>
> But the concrete example does not matter. Whichever program I compile variable viewing is totally broken for me (gcc 4.8.2 prelease 20130730 with mingw-w64 runtime from 20130730) all with above error messages.
>
> Thanks for your help. I hope this can be resolved soon. I would love to enrich my gdb with SEH2 unwinding!
I do not have this issue with the compiler installed here.
Can you send me (privately) your binary ?
Tristan.