unpush_target (&child_ops);
unpush_target (&deprecated_child_ops);
child_detach (char *args, int from_tty){  int detached = 1;  if (has_detach_ability ())    {      delete_command (NULL, 0);      child_continue (DBG_CONTINUE, -1);      if (!DebugActiveProcessStop (current_event.dwProcessId))	{	  error ("Can't detach process %lu (error %lu)",		 current_event.dwProcessId, GetLastError ());	  detached = 0;	}      DebugSetProcessKillOnExit (FALSE);    }  if (detached && from_tty)    {      char *exec_file = get_exec_file (0);      if (exec_file == 0)	exec_file = "";      printf_unfiltered ("Detaching from program: %s, Pid %lu\n", exec_file,			 current_event.dwProcessId);      gdb_flush (gdb_stdout);    }  inferior_ptid = null_ptid;  unpush_target (&child_ops);}