I've faced the following problem when trid to launch remote debugging:
shared libraries can't be located (cannot open shared object file: No such file or directory), though LD_LIBRARY_PATH is set correctly (I use ~/.bash_profile to set up the environment). And, another strange thing is that remote run works fine, no problems with libraries or something.
Firstly, I didn't change any debug settings (project properties -> debug), that worked fine for test project. Than I tried to change working directory and debug command, but that didn't give any result.
And, everything is fine when I start gdb manullay through Putty (with the same environment that is set up automatically through ~/.bash_profile)
Does remote debug use the same host, that is specified for build? Or did I miss something in the settings?