C/C++

Debugging with shared lib

1 1904
Hello,

i used cmake to build a shared library named *.so and a second cmake file to build my executable.
The program runs and load the library correctly, but if i debug in eclipse with the gdbserver i get the Error message like this
"No source file named /home/../*.cpp."

I think i must set the correctly source Path in the cmake project or in the eclipse gdb debugger preferences.
But i not sure how and where i can do this.

I use the linaro gcc and gdb and the newest eclipse version 3.8.1.

gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-g++

thanks for help, regards

hodoors  
Note: The author has been banned or deleted.

You have to log in before you can reply Login | Sign Up

Points Rules