Home | History | Annotate | Download | only in MacOSX

Lines Matching refs:m_pid

74     m_pid               (0),
123 m_pid = ::getpid ();
125 m_pid = pid;
126 return m_pid; // Return actualy PID in case a zero pid was passed in
229 if (m_cpu_type == 0 && m_pid != 0)
230 m_cpu_type = MachProcess::GetCPUTypeForLocalProcess (m_pid);
316 m_pid = INVALID_NUB_PROCESS;
408 ::ptrace (PT_KILL, m_pid, 0, 0);
411 DNBLogThreadedIf(LOG_PROCESS, "MachProcess::Kill() DoSIGSTOP() ::ptrace (PT_KILL, pid=%u, 0, 0) => 0x%8.8x (%s)", m_pid, err.Error(), err.AsString());
544 nub_process_t pid = m_pid;
1105 if (m_pid != 0)
1140 cpu_type_t process_cpu_type = MachProcess::GetCPUTypeForLocalProcess (m_pid);
1475 m_pid = pid;
1486 m_pid = INVALID_NUB_PROCESS;
1503 return m_pid;
1672 m_pid = MachProcess::ForkChildForPTraceDebugging (path, argv, envp, this, launch_err);
1698 return m_pid; // A successful SBLaunchForDebug() returns and assigns a non-zero m_pid.
1710 m_pid = MachProcess::PosixSpawnChildForPTraceDebugging (path,
1730 if (m_pid == INVALID_NUB_PROCESS)
1751 ::ptrace (PT_KILL, m_pid, 0, 0);
1752 m_pid = INVALID_NUB_PROCESS;
1763 int err = ::ptrace (PT_ATTACHEXC, m_pid, 0, 0);
1767 DNBLogThreadedIf(LOG_PROCESS, "successfully spawned pid %d", m_pid);
1774 DNBLogThreadedIf(LOG_PROCESS, "error: failed to attach to spawned pid %d (err = %i, errno = %i (%s))", m_pid, err, ptrace_err.Error(), ptrace_err.AsString());
1783 return m_pid;
2076 m_pid = MachProcess::SBForkChildForPTraceDebugging(path, argv, envp, no_stdio, this, launch_err);
2077 if (m_pid != 0)
2092 ::ptrace (PT_KILL, m_pid, 0, 0);
2093 m_pid = INVALID_NUB_PROCESS;
2099 int err = ::ptrace (PT_ATTACHEXC, m_pid, 0, 0);
2103 DNBLogThreadedIf(LOG_PROCESS, "successfully attached to pid %d", m_pid);
2108 DNBLogThreadedIf(LOG_PROCESS, "error: failed to attach to pid %d", m_pid);
2111 return m_pid;