Installed Helios and CDT on my XP/cygwin laptop.
Worked through the example at: http://www.ibm.com/developerworks/opensource/library/os-eclipse-stlcdt
There was a source code problem in the debugger section, instead of showing the code I got an error message:
Can't find a source file at "/cygdrive/c/................
I think the problem is that gdb tells Eclipse the problem is in /cygdrive/c/ etc.... Eclipse doesn't know /cygdrive/c is the same as c:. Problem solved by telling it in Windows>Preferences>C/C++>Debug>Common Source Lookup>Add>Path Mapping
No comments:
Post a Comment