Execuse me.
Did this issue have a solution?
http://forums.codeblocks.org/index.php/topic,2853.0.html (http://forums.codeblocks.org/index.php/topic,2853.0.html) seems to have the similar syndrome.
I use Win7, Cygwin-1.7.7, gdb-6.8, C::B r6688
The same simple project is OK by using MinGW.
But I need to use Cygwin and I can compile but can NOT debug well.
The cursor of current debug line can not located to proper position.
Under "Debugger" window, it shows:
Warning: /cygdrive/c/Temp/new/C: No such file or directory.
Child process PID: 4572
Cannot open file: C:\Temp\new\\cygdrive\c\Temp\new\main.c
At /cygdrive/c/Temp/new/main.c:13
Under "Debugger (debug)" window, it shows:
PATH=.;C:\Cygwin\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Tools\TortoiseSVN\bin;C:\Tools\Cppcheck\;C:\ToolsP\GnuWin32\bin
Command-line: C:\cygwin\bin\gdb.exe -nx -fullname -quiet -args bin/Debug/new.exe
Working dir : C:\Temp\new\
> set prompt >>>>>>cb_gdb:
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set debugevents on
>>>>>>cb_gdb:
> set new-console on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> catch throw
Function "__cxa_throw" not defined.
>>>>>>cb_gdb:
> source C:\Tools\CodeBlocks\share\codeblocks/scripts/stl-views-1.0.3.gdb
>>>>>>cb_gdb:
> directory C:/Temp/new/
Warning: /cygdrive/c/Temp/new/C: No such file or directory.
Warning: /Temp/new: No such file or directory.
>>>>>>cb_gdb:
> break "C:/Temp/new/main.c:13"
Breakpoint 1 at 0x4011cb: file C:/Temp/new/main.c, line 13.
>>>>>>cb_gdb:
> run
Error: dll starting at 0x77870000 not found.
Error: dll starting at 0x758d0000 not found.
Error: dll starting at 0x77870000 not found.
Error: dll starting at 0x77990000 not found.
gdb: win32_init_thread_list
[New thread 4572.0xce8]
[New thread 4572.0x1bc8]
Breakpoint 1, main () at C:/Temp/new/main.c:13
/cygdrive/c/Temp/new/main.c:13:159:beg:0x4011cb
>>>>>>cb_gdb:
> set debugevents off
>>>>>>cb_gdb:
Could anyone kindly give me some hints?
Thanks.