User forums > Help
GDB problem
ennom:
Hi there!
First of all - i'm newbie in cb, cygwin and gdb. Just downloaded cb to try out. I wrote a little program to see how it going in cb. I have problem with gdb(or cb? or cygwin? or with all of them? :)) when trying to stop at breakpoint -
--- Quote ---Cannot open file: C:\src\cb_test\cb_test\->->\cygdrive\c\src\cb_test\cb_test\main.cpp
At /cygdrive/c/src/cb_test/cb_test/main.cpp:26
--- End quote ---
any ideas?
gdb is GNU gdb 6.8.0.20080328
cb is 10.05
cygwin is CYGWIN_NT-6.1-WOW64
thank u!
oBFusCATed:
What are those strange characters in the paths?
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#Path_with_spaces
ennom:
Here is how gdb output looks like. There are no any whitespaces in my path. I suppose that two rectangles in path are two "right arrow" chars, but i'm lack of appropriate font.
[attachment deleted by admin]
ollydbg:
Look: the gdb can't find the source file located by \cygdrive\XXXX
I guess your compiler is cygwin gcc, but your debugger is native gdb. So, they are not compatible.
ennom:
--- Quote from: ollydbg on June 06, 2010, 09:16:05 am ---but your debugger is native gdb
--- End quote ---
Yeah, compiler is cygwin gcc, but what do you mean 'native'? The only gdb i have is from cygwin, how then it can be incompatible with the compiler?
btw, thank you all guys.
Navigation
[0] Message Index
[#] Next page
Go to full version