Applied pid.patch from Jean-Daniel Dupas.

llvm-svn: 107692
This commit is contained in:
Greg Clayton 2010-07-06 20:27:00 +00:00
parent 3439629239
commit 3afe8a9f1d
2 changed files with 3 additions and 3 deletions

View File

@ -554,7 +554,7 @@ Host::StartMonitoringChildProcess
Mutex::Locker locker(&g_monitor_map_mutex);
if (!g_monitor_thread)
{
pid_t wait_pid = -1;
lldb::pid_t wait_pid = -1;
g_monitor_thread = ThreadCreate ("<lldb.host.wait4>",
MonitorChildProcessThreadFunction,
&wait_pid,
@ -640,7 +640,7 @@ MonitorChildProcessThreadFunction (void *arg)
if (log)
log->Printf ("%s (arg = %p) thread starting...", function, arg);
const pid_t wait_pid = -1;//*((pid_t*)arg);
const lldb::pid_t wait_pid = -1;//*((pid_t*)arg);
int status = -1;
const int options = 0;
struct rusage *rusage = NULL;

View File

@ -616,7 +616,7 @@ ProcessGDBRemote::DidLaunch ()
}
Error
ProcessGDBRemote::DoAttach (pid_t attach_pid)
ProcessGDBRemote::DoAttach (lldb::pid_t attach_pid)
{
Error error;
// Clear out and clean up from any current state