summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2013-07-02 16:35:47 +0000
committerEd Maste <emaste@freebsd.org>2013-07-02 16:35:47 +0000
commitc29693f720b820660acb1d6ee8721cd77961165a (patch)
tree753485e7c60bbf23e5945b0d35ea7642f8601542 /lldb/source/Target/Process.cpp
parent14a3999354fd9b97fcfa5ccfa3904e010bec7366 (diff)
downloadbcm5719-llvm-c29693f720b820660acb1d6ee8721cd77961165a.tar.gz
bcm5719-llvm-c29693f720b820660acb1d6ee8721cd77961165a.zip
Remove obsolete comment
llvm-svn: 185441
Diffstat (limited to 'lldb/source/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index a00f2085b44..84cd29d4961 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1699,10 +1699,7 @@ Process::SetPrivateState (StateType new_state)
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)
OpenPOWER on IntegriCloud