This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 103589 [details] Disassembly screenshot It's a regression. Disassembly shows only small part of the code (see attached screenshot).
fixed in: http://hg.netbeans.org/cnd-main/rev/a442a0237788
Integrated into 'main-golden', will be available in build *201012070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a442a0237788 User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192858 (Corrupted Disassembly on Windows)
In build 20101207 Disassembly still looks incomplete: !int main(int argc, char**argv) { main+0: lea 0x4(%esp),%ecx main+4: and $0xfffffff0,%esp main+7: pushl -0x4(%ecx) main+10: push %ebp main+11: mov %esp,%ebp main+13: push %ebx main+14: push %ecx main+15: sub $0x20,%esp main+18: mov %ecx,-0x1c(%ebp) main+21: call 0x401310 <__main> ! // Prints welcome message... ! std::cout << "Welcome ..." << std::endl; main+26: movl $0x4020a0,0x4(%esp) main+34: movl $0x6c4f5a60,(%esp) _fu0___ZSt4cout+4: call 0x4012a8 <_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc> _fu0___ZSt4cout+9: movl $0x4012c8,0x4(%esp) _fu0___ZSt4cout+17: mov %eax,(%esp) _fu0___ZSt4cout+20: call 0x4012b0 <_ZNSolsEPFRSoS_E> ! ! // Prints arguments... ! if (argc > 1) { _fu0___ZSt4cout() _fu0___ZSt4cout+25: mov -0x1c(%ebp),%eax _fu0___ZSt4cout+28: cmpl $0x1,(%eax) _fu0___ZSt4cout+31: jle 0x401288 <_fu2___ZSt4cout+67> ! std::cout << std::endl << "Arguments:" << std::endl; _fu0___ZSt4cout+37: movl $0x4012c8,0x4(%esp) _fu0___ZSt4cout+45: movl $0x6c4f5a60,(%esp) ! for (int i = 1; i < argc; i++) { ! std::cout << i << ": " << argv[i] << std::endl; ! } ! } ! ! return 0; !}
The regression is fixed now. Now it works similarly to NB6.9.1 with the same tool collection. The bug is downgraded to P3.
so what's left to fix here?
we show exactly what gdb provides plus source code in comments
It would be nice to see real disassembly.