[Lldb-commits] [lldb] r185441 - Remove obsolete comment
Ed Maste
emaste at freebsd.org
Tue Jul 2 09:35:47 PDT 2013
Author: emaste
Date: Tue Jul 2 11:35:47 2013
New Revision: 185441
URL: http://llvm.org/viewvc/llvm-project?rev=185441&view=rev
Log:
Remove obsolete comment
Modified:
lldb/trunk/source/Target/Process.cpp
Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=185441&r1=185440&r2=185441&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Tue Jul 2 11:35:47 2013
@@ -1699,10 +1699,7 @@ Process::SetPrivateState (StateType new_
const StateType old_state = m_private_state.GetValueNoLock ();
state_changed = old_state != new_state;
- // This code is left commented out in case we ever need to control
- // the private process state with another run lock. Right now it doesn't
- // seem like we need to do this, but if we ever do, we can uncomment and
- // use this code.
+
const bool old_state_is_stopped = StateIsStoppedState(old_state, false);
const bool new_state_is_stopped = StateIsStoppedState(new_state, false);
if (old_state_is_stopped != new_state_is_stopped)
More information about the lldb-commits
mailing list