Lines Matching full:pid

75   ::pid_t pid = ProcessLauncherPosixFork()
78 LLDB_LOG(log, "pid = {0:x}", pid);
89 ::pid_t wpid = llvm::sys::RetryAfterSignal(-1, ::waitpid, pid, &wstatus, 0);
90 assert(wpid == pid);
101 if (!Host::GetProcessInfo(pid, Info)) {
107 LLDB_LOG(log, "pid = {0:x}, detected architecture {1}", pid,
111 pid, launch_info.GetPTY().ReleasePrimaryFileDescriptor(), native_delegate,
127 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) {
129 LLDB_LOG(log, "pid = {0:x}", pid);
133 if (!Host::GetProcessInfo(pid, Info)) {
139 pid, -1, native_delegate, Info.GetArchitecture(), m_mainloop));
161 NativeProcessFreeBSD::NativeProcessFreeBSD(::pid_t pid, int terminal_fd,
165 : NativeProcessELF(pid, terminal_fd, delegate), m_arch(arch),
179 void NativeProcessFreeBSD::MonitorCallback(lldb::pid_t pid, int signal) {
182 return MonitorSIGTRAP(pid);
184 return MonitorSIGSTOP(pid);
186 return MonitorSignal(pid, signal);
190 void NativeProcessFreeBSD::MonitorExited(lldb::pid_t pid, WaitStatus status) {
193 LLDB_LOG(log, "got exit signal({0}) , pid = {1}", status, pid);
204 void NativeProcessFreeBSD::MonitorSIGSTOP(lldb::pid_t pid) {
213 void NativeProcessFreeBSD::MonitorSIGTRAP(lldb::pid_t pid) {
217 const auto siginfo_err = PtraceWrapper(PT_LWPINFO, pid, &info, sizeof(info));
224 LLDB_LOG(log, "got SIGTRAP, pid = {0}, lwpid = {1}, flags = {2:x}", pid,
257 PtraceWrapper(PT_CONTINUE, pid, reinterpret_cast<void *>(1), 0);
287 LLDB_LOG(log, "thread not found in m_threads, pid = {0}, LWP = {1}", pid,
304 PtraceWrapper(PT_CONTINUE, pid, reinterpret_cast<void *>(1), 0);
313 LLDB_LOG(log, "SIGTRAP siginfo: si_code = {0}, pid = {1}",
331 LLDB_LOG(log, "pid = {0} remove stepping breakpoint: {1}",
353 "received error while checking for watchpoint hits, pid = "
355 pid, info.pl_lwpid, error);
376 MonitorSignal(pid, SIGTRAP);
379 void NativeProcessFreeBSD::MonitorSignal(lldb::pid_t pid, int signal) {
383 const auto siginfo_err = PtraceWrapper(PT_LWPINFO, pid, &info, sizeof(info));
407 Status NativeProcessFreeBSD::PtraceWrapper(int req, lldb::pid_t pid, void *addr,
415 ptrace(req, static_cast<::pid_t>(pid), static_cast<caddr_t>(addr), data);
426 LLDB_LOG(log, "ptrace({0}, {1}, {2}, {3})={4:x}", req, pid, addr, data, ret);
457 LLDB_LOG(log, "pid {0}", GetID());
475 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(),
482 "processing resume action state {0} signal {1} for pid {2} tid {3}",
504 "for pid %" PRIu64 ", tid %" PRIu64,
559 LLDB_LOG(log, "pid {0}", GetID());
570 LLDB_LOG(log, "ignored for PID {0} due to current state: {1}", GetID(),
802 "waitpid ({0}, &status, _) => pid = {1}, status = {2}, exited = {3}",
828 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id);
844 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id);
1011 "waiting for pid {0} failed. Assuming the pid has "
1018 "waiting for pid {0} returned an 'exited' event. Not "