Lines Matching defs:pid
83 bool PlatformAndroidRemoteGDBServer::LaunchGDBServer(lldb::pid_t &pid,
88 if (!m_gdb_client_up->LaunchGDBServer("127.0.0.1", pid, remote_port,
99 auto error = MakeConnectURL(pid, local_port, remote_port, socket_name.c_str(),
107 bool PlatformAndroidRemoteGDBServer::KillSpawnedProcess(lldb::pid_t pid) {
109 DeleteForwardPort(pid);
110 return m_gdb_client_up->KillSpawnedProcess(pid);
165 void PlatformAndroidRemoteGDBServer::DeleteForwardPort(lldb::pid_t pid) {
168 auto it = m_port_forwards.find(pid);
176 "Failed to delete port forwarding (pid=%" PRIu64
178 pid, port, m_device_id.c_str(), error.AsCString());
184 const lldb::pid_t pid, const uint16_t local_port,
195 m_port_forwards[pid] = local;
226 // We don't have the pid of the remote gdbserver when it isn't started by us
228 // forward map. Generate a fake pid for these cases what won't collide with
229 // any other valid pid on android.