Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Problems debugging with cygwin gdb

Hi all,
I'm using Eclipse with CDT on a Linux machine to debug an embedded sparc-elf processor and things are working fine. I've tried to do the same thing with Eclipse under windows with Cygwin. The compilation, editing ... are all fine but I've the following problem:

- when I run a debug session the program is loaded into the embedded target and it is started, but when the program counter hits the "main" break point and eclipse can't associate to it a source file. The problem is that Cygwin gnu tools are using a Cygwin path like /cygdrive/c/eclipse/workspace/... but eclipse try to open a file with the path : \cygdrive\c\eclipse\workspace\... which doesn't exist. It seems that Cygwin GNU tools are always generating debug information using the virtual file system of cygwin which isn't compatible with the windows one.

I now that someone is using Eclipse/CDT with Cygwin GNU tools. How have you solved the problem? or maybe thats a problem of my setup of Cygwin or Eclipse ?


Best regards Joel Brenner


Back to the top