<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.

llvm-svn: 176960
This commit is contained in:
Greg Clayton 2013-03-13 18:23:44 +00:00
parent c1b566db1b
commit 682b60e4b4
1 changed files with 2 additions and 2 deletions

View File

@ -363,10 +363,10 @@ MachProcess::Resume (const DNBThreadResumeActions& thread_actions)
}
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;
}