<div dir="ltr"><div>Minor warnings cleanup. Thanks.</div><div> -Mike</div><div><br></div><div>mikesart@mikesart-rad:~/data/src/llvm.svn/llvm/tools/lldb$ svn diff source/Plugins/Process/Linux/ProcessMonitor.cpp</div><div>Index: source/Plugins/Process/Linux/ProcessMonitor.cpp</div>
<div>===================================================================</div><div>--- source/Plugins/Process/Linux/ProcessMonitor.cpp (revision 190896)</div><div>+++ source/Plugins/Process/Linux/ProcessMonitor.cpp (working copy)</div>
<div>@@ -1610,14 +1610,14 @@</div><div> {</div><div> Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));</div><div> if (log)</div><div>- log->Printf ("ProcessMonitor::%s(%d) waiting for thread to stop...", __FUNCTION__, tid);</div>
<div>+ log->Printf ("ProcessMonitor::%s(%" PRIu64 ") waiting for thread to stop...", __FUNCTION__, tid);</div><div> </div><div> // Wait for the thread to stop</div><div> while (true)</div>
<div> {</div><div> int status = -1;</div><div> if (log)</div><div>- log->Printf ("ProcessMonitor::%s(%d) waitpid...", __FUNCTION__, tid);</div><div>+ log->Printf ("ProcessMonitor::%s(%" PRIu64 ") waitpid...", __FUNCTION__, tid);</div>
<div> lldb::pid_t wait_pid = waitpid(tid, &status, __WALL);</div><div> if (status == -1)</div><div> {</div><div>@@ -1628,13 +1628,13 @@</div><div> else</div><div> {</div>
<div> if (log)</div><div>- log->Printf("ProcessMonitor::%s(%d) waitpid error -- %s", __FUNCTION__, tid, strerror(errno));</div><div>+ log->Printf("ProcessMonitor::%s(%" PRIu64 ") waitpid error -- %s", __FUNCTION__, tid, strerror(errno));</div>
<div> return false; // This is bad, but there's nothing we can do.</div><div> }</div><div> }</div><div> </div><div> if (log)</div><div>- log->Printf ("ProcessMonitor::%s(%d) waitpid, status = %d", __FUNCTION__, tid, status);</div>
<div>+ log->Printf ("ProcessMonitor::%s(%" PRIu64 ") waitpid, status = %d", __FUNCTION__, tid, status);</div><div> </div><div> assert(wait_pid == tid);</div><div> </div><div>@@ -1753,6 +1753,7 @@</div>
<div> </div><div> switch (message.GetKind())</div><div> {</div><div>+ case ProcessMessage::eAttachMessage:</div><div> case ProcessMessage::eInvalidMessage:</div><div> break;</div>
<div> </div><div>@@ -1971,8 +1972,6 @@</div><div> void</div><div> ProcessMonitor::ServeOperation(OperationArgs *args)</div><div> {</div><div>- int status;</div><div>-</div><div> ProcessMonitor *monitor = args->m_monitor;</div>
<div> </div><div> // We are finised with the arguments and are ready to go. Sync with the</div><div><br></div></div>