forked from OSchip/llvm-project
Applied pid.patch from Jean-Daniel Dupas.
llvm-svn: 107692
This commit is contained in:
parent
3439629239
commit
3afe8a9f1d
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue