bash1$ ./gdbserver --multi :1234 Listening on port 1234 Remote debugging from host 127.0.0.1 Process /home/dje/hello.x64 created; pid = 16578 Cannot exec /home/dje/hello.x64 : No such file or directory. Child exited with status 127 Process /home/dje/hello.x64 created; pid = 16628 gdbserver: no target description bash1$ bash2$ make run (gdb) tar ext :1234 (gdb) file ~/hello (gdb) set remote exec-file /home/dje/hello<space> (gdb) start Temporary breakpoint 1 at 0x4006d8: file hello.cc, line 6. Starting program: /home/dje/hello Running "/home/dje/hello " on the remote target failed (gdb) set remote exec-file /home/dje/hello (gdb) start Temporary breakpoint 2 at 0x4006d8: file hello.cc, line 6. Starting program: /home/dje/hello Remote connection closed (gdb)