Lines Matching refs:to_pid
430 Bool read_from_gdb_write_to_pid(int to_pid) in read_from_gdb_write_to_pid() argument
445 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True); in read_from_gdb_write_to_pid()
760 void close_connection(int to_pid, int from_pid) in close_connection() argument
773 if (close(to_pid) != 0) in close_connection()
826 int to_pid = -1; /* fd to write to pid */ in gdb_relay() local
835 to_pid = open_fifo(from_gdb_to_pid, O_WRONLY, "write to pid"); in gdb_relay()
841 sigusr1_fd = to_pid; /* allow simulating user typing control-c */ in gdb_relay()
860 pollfds[TO_PID].fd = to_pid; in gdb_relay()
883 if (!read_from_gdb_write_to_pid(to_pid)) in gdb_relay()
925 close_connection(to_pid, from_pid); in gdb_relay()
943 int to_pid = -1; /* fd to write to pid */ in standalone_send_commands() local
959 to_pid = open_fifo(from_gdb_to_pid, O_WRONLY, "write to pid"); in standalone_send_commands()
968 while (!write_buf(to_pid, buf, 1, in standalone_send_commands()
1001 write_buf(to_pid, hexcommand, strlen(hexcommand), in standalone_send_commands()
1008 buflen = getpkt(buf, from_pid, to_pid); in standalone_send_commands()
1058 close_connection(to_pid, from_pid); in standalone_send_commands()