I have encountered strange bug in "built-in" disasm feature. While I am disassembling some function, sometimes text in Disassembly window lacks some lines of asm code, or even just parts of line.
For example,
sometimes instead of real code, the:
0x401317 fld QWORD PTR [ecx+eax*8]
0x40131a mov ecx,DWORD PTR [ebp+8]
0x40131d fadd DWORD PTR [ecx+eax*8]
0x401320 mov ecx,DWORD PTR [ebp+16]
0x401323 fadd DWORD PTR [ecx+eax*8]
I obtain
0x401317 fld QWORD PTR [ecx+eax*8]
0x40131a mov ecx,DWORD PTR [ebp+8]
0x401320 mov ecx,DWORD PTR [ebp+16]
0x401323 fadd DWORD PTR [ecx+eax*8]
or
0x401334 call 0x438ea0 <clock>
0x401339 mov esi,DWORD
0x40133c mov ebx,DWORD PTR [esi]
instead of
0x401334 call 0x438ea0 <clock>
0x401339 mov esi,DWORD PTR [ebp+40]
0x40133c mov ebx,DWORD PTR [esi]
This bug do not occurs every time. For example, if I _open_ the windows and save to file several times successively, some obtained files will be "damaged", other - not.
As for now I do not managed to reproduce this bug in simple project
I am using CodeBlocks, built from sources, revision 2977, with the exception that it is built against non-monolithic wxWidgets (2.6.3) library, under WindowsXP SP2.
Debugger - gdb from mingw package, version 6.3
If it can help, code which I am working on can be found in svn repository at
http://OpenSVN.csie.org/C_vs_Cpp_numerical_testsBut it is of no interest, except of been known to reproduce this bug at least for function
check_C_ApBpCpD_double_fn_time