This is the mail archive of the gdb@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] |
Hi, all. Just for a record.It's strange that -O2 enables "-fomit-frame-pointer", but -Os doesn't. Because I build gdb with "-Os" to work well, but gdb will also crash when built with "-Os -fomit-frame-pointer".
This reason that gdb crash on WinXP build from gcc 4.6.x can be found here:
http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg02462.html
When building gdb with "-omit-frame-pointer" disabled, gdb works well.
This patch can only be used for trunk (4.7), but no gcc4.6 branch. I don't know whether there is another better method to solve the issue.
Also, Kai Tietz supplies a patch to solve this problem. (I'm not sure how the patch works, does it just disable the -omit-frame-pointer on I386 for mingw?)
asmwarrior ollydbg from codeblocks' forum
-- Best Regards, xunxun
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |