I'm trying to debug a program remotely by using gdbserver
gdbserver 220.127.116.11:23456 --attach 15397(pid of my program)
I have successfully debugged the program with host, But when I quit gdb from host both my program and gdbserver are killed. my process received a SIGKILL signal.
why is my program killed here ?
Any solution is appreciable