http://sourceware.org/ml/gdb/2010-06/msg00080.html
see the result here: http://forums.codeblocks.org/index.php/topic,12747.msg86443.html#msg86443I have solved this problem by hacking the GDB source code. You can see the changed code here:
http://sourceware.org/bugzilla/show_bug.cgi?id=11407#c33 Asmwarrior (ollydbg from codeblocks' forum)