event.sigev_priority =-1;devctl(nto_inferior.ctl_fd, DCMD_PROC_EVENT, &event,sizeof(event),0);if(devctl(nto_inferior.ctl_fd, DCMD_PROC_STATUS, &status,sizeof(status),0) == EOK && (status.flags & _DEBUG_FLAG_STOPPED)) {ptid_tptid;structprocess_info*proc;kill (pid, SIGCONT); ...