I'm trying to debug a program remotely by using gdbserver
gdbserver 188.8.131.52: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