Lines Matching refs:to_pid
428 to_pid is the file descriptor to write to the process pid. */
430 Bool read_from_gdb_write_to_pid(int to_pid)
445 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True);
754 void close_connection(int to_pid, int from_pid)
767 if (close(to_pid) != 0)
768 ERROR(errno, "close to_pid\n");
820 int to_pid = -1; /* fd to write to pid */
829 to_pid = open_fifo(from_gdb_to_pid, O_WRONLY, "write to pid");
835 sigusr1_fd = to_pid; /* allow simulating user typing control-c */
854 pollfds[TO_PID].fd = to_pid;
877 if (!read_from_gdb_write_to_pid(to_pid))
919 close_connection(to_pid, from_pid);
937 int to_pid = -1; /* fd to write to pid */
953 to_pid = open_fifo(from_gdb_to_pid, O_WRONLY, "write to pid");
961 write_buf(to_pid, buf, 1, "write \\003 to wake up", /* notify */ True);
985 write_buf(to_pid, hexcommand, strlen(hexcommand),
992 buflen = getpkt(buf, from_pid, to_pid);
1042 close_connection(to_pid, from_pid);