This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Windows x64 SEH unwinder (v2)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]