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: Roland Schwingel <roland dot schwingel at onevision dot de>
- To: Tristan Gingold <gingold at adacore dot com>
- 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:14:27 +0200
- Subject: Re: [RFA] Windows x64 SEH unwinder (v2)
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!
Roland