Hi, my working environment is Linux/Debian and my target is Linux/Centos. I get target env with "chroot" command on the same host. The file system is shared in sub-tree: /home/user/a/b/c/d is translated to /c/d on the target. I use Luna/RemoteProject. The problem: I get errors when try to run or debug remotely. My questions:
1. No need for RSE server, because the files are visible on both hosts. I defined connection via SSH. Am I right?
2. Run configuration:
Connection: Local
C++ application: /home/user/a/b/c/d/myappl
Remote C++ application: /c/d/myappl
Command to be executed before application: cd /home/user/a/; chroot b
The result is eclipse get stopped, when return it to fg, I get shell of target. When running it: error while loading shared libraries...
How to define it correctly?
3. Manual Debug configuration:
Connection: Local
C++ application: /home/user/a/b/c/d/myappl
Manual remote debugging launcher
Debugger: Connection: TCP, Hostname: Localhost, Port num: 2345
Source: Path Mapping:
Compilation Path: c/d/ Local File Path: /home/user/a/b/c/d
I start manually on target:
gdbserver localhost:2345 ./myappl
The result:
Error in final launch sequence
No debugger path for breakpoint
4. Automatic Debug Configuration:
Error during file upload.
Daemon failed to launch server on SLEVIN-DEBIAN using port 0
Sorry for a long post. Any help how to proceed will be appreciated.
Thanks, Stella