Allocate gdbserv_target only once, so that gdb can disconnect and reconnect.