I use Nsight eclipse remote debug function to upload a project to Jetson tx1.
This project can compile successfully in pc(ubuntu 14.04),but when i use remote debug,the console shows that
“ubuntu@tegra-ubuntu:~$ /bin/sh -c “cd "/tmp";export LD_LIBRARY_PATH="/usr/local/cuda-8.0/lib64":${LD_LIBRARY_PATH};"/usr/local/cuda-8.0/bin/cuda-gdbserver" --cuda-use-lockfile=0 :2345 "/tmp/main"”;exit
Process /tmp/main created; pid = 3840
Cannot exec /tmp/main: Exec format error.
gdbserver: Unable to determine the number of hardware watchpoints available.
gdbserver: Unable to determine the number of hardware breakpoints available.
Child exited with status 127
No program to debug. GDBserver exiting.
logout”
thanks for your help