as show below:
Step 1: SSH Login to remote host.
Step 2: Use
gdb debug proc_a.
Step 3: Use gdb subcommand
(gdb) shell vi tes.c, edit the file.
Step 4: The ssh client have something unknown error failure link (can not input any command to remote host)
Step 5: I have to relogin the remote host using SSH.
The question is how can I continue to the debug work which the Step1f going?