In the case where we are trying to resume a thread all the way to 0, if we get

llvm-svn: 137287
This commit is contained in:
Jim Ingham 2011-08-11 00:38:52 +00:00
parent 9019fd3813
commit 478235d882
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,6 @@ MachThread::SetSuspendCountBeforeResume(bool others_stopped)
times_to_resume = m_basic_info.suspend_count;
else
times_to_resume = 0;
return false; // ???
}
}
}
@ -161,7 +160,10 @@ MachThread::RestoreSuspendCountAfterStop ()
if (err.Success())
++m_suspend_count;
if (DNBLogCheckLogBit(LOG_THREAD) || err.Fail())
{
err.LogThreaded("::thread_suspend (%4.4x)", m_tid);
return false;
}
}
}
return true;