Hi, former post of this fix was for: [patch+7.8] Fix crash on optimized-out entry data values https://sourceware.org/ml/gdb-patches/2014-06/msg00797.html = https://bugzilla.redhat.com/show_bug.cgi?id=1111910 this can happen for real world -O2 -g executables: #9 0x0000003b6e0998b2 in wxEntry (argc=@0x7fffffffd86c: 1, argc@entry=@0x7fffffffd86c: , ^^^^^^^^^^^^^^^ argv=) at src/common/init.cpp:460 GDB did crash in such case. But the fix was wrong/regressing as shown here: https://bugzilla.redhat.com/show_bug.cgi?id=1117192 https://bugzilla.redhat.com/attachment.cgi?id=916298 (at the bottom) Here is a new fix, also with a new testcase reproducing crash of the wrong fix above. No regressions on {x86_64,x86_64-m32,i686}-fedorarawhide-linux-gnu. Jan