[RFA] Windows x64 SEH unwinder (v2)

Roland Schwingel roland.schwingel@onevision.de
Mon Aug 5 11:25:00 GMT 2013


Hi Tristan...

gdb-patches-owner@sourceware.org wrote on 08.07.2013 12:55:21:

 > Hello,
 >
 > this is the second version of the patch we submitted in January.
 > I have rewritten amd64_windows_frame_decode_epilogue according to the
 > very serious review and comments from Pedro.
 >
 > Tristan.
Today I gave your SEH unwinder patch a try. I hopped to get an issue 
from 2005 resolved.

(See: http://sourceware.org/ml/gdb/2005-04/msg00113.html)

I compiled my test C code from this post using GCC 4.8.1 for x64 windows
with no special options beside of a single -g.

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?

Thanks for your help,

Roland



More information about the Gdb-patches mailing list