[Lldb-commits] [lldb] r176960 - <rdar://problem/13396207>
Greg Clayton
gclayton at apple.com
Wed Mar 13 11:23:45 PDT 2013
Author: gclayton
Date: Wed Mar 13 13:23:44 2013
New Revision: 176960
URL: http://llvm.org/viewvc/llvm-project?rev=176960&view=rev
Log:
<rdar://problem/13396207>
Added logging that will show up in the system console when we try to resume a process that is already running, or has an unexpected state.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp?rev=176960&r1=176959&r2=176960&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.cpp Wed Mar 13 13:23:44 2013
@@ -363,10 +363,10 @@ MachProcess::Resume (const DNBThreadResu
}
else if (state == eStateRunning)
{
- DNBLogThreadedIf(LOG_PROCESS, "Resume() - task 0x%x is running, ignoring...", m_task.TaskPort());
+ DNBLog("Resume() - task 0x%x is already running, ignoring...", m_task.TaskPort());
return true;
}
- DNBLogThreadedIf(LOG_PROCESS, "Resume() - task 0x%x can't continue, ignoring...", m_task.TaskPort());
+ DNBLog("Resume() - task 0x%x has state %s, can't continue...", m_task.TaskPort(), DNBStateAsString(state));
return false;
}
More information about the lldb-commits
mailing list