Lines Matching refs:from_pid
454 Bool read_from_pid_write_to_gdb(int from_pid) in read_from_pid_write_to_gdb() argument
459 nrread = read_buf(from_pid, buf, "from pid"); in read_from_pid_write_to_gdb()
465 close (from_pid); in read_from_pid_write_to_gdb()
760 void close_connection(int to_pid, int from_pid) in close_connection() argument
816 if (close(from_pid) != 0) in close_connection()
825 int from_pid = -1; /* fd to read from pid */ in gdb_relay() local
838 from_pid = open_fifo (to_gdb_from_pid, O_RDONLY|O_NONBLOCK, in gdb_relay()
857 pollfds[FROM_PID].fd = from_pid; in gdb_relay()
887 if (!read_from_pid_write_to_gdb(from_pid)) in gdb_relay()
925 close_connection(to_pid, from_pid); in gdb_relay()
942 int from_pid = -1; /* fd to read from pid */ in standalone_send_commands() local
978 from_pid = open_fifo(to_gdb_from_pid, O_RDONLY, 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()