|gdb debug stepping behavios unexpectvily [message #902323]
||Fri, 17 August 2012 05:05
| anil kumar
Registered: January 2012
i am new to C and C++, i have created a simple Helloworld.cpp project using managed make by selecting cygwin as toolchain,and build the project ,exe got generated successfully, then i am running the exe as Debug as->local c/c++ Application,the application opened in debug mode and Helloworld.cpp opended and break point first statement of main method,then i have started clicking on step in function,after some clicks gdb hang's ,i am not able to do any thing.|
only Terminal button is enabled ,i have attached the screen shots also please have a look, if i give "info thread" command in gdb console getting following trace.
Id Target Id Frame
2 Thread 5800.0x1690 0x7c90e514 in ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
* 1 Thread 5800.0x1a20 0x610b5d00 in dirname () from /cygdrive/c/cygwin/bin/cygwin1.dll
even i am not able to see the helloworld.cpp output.
what is the problem and how to resolve it.
Powered by FUDForum
. Page generated in 0.02096 seconds