Fix step commands that mix running threads and stepping threads.

This fixes https://github.com/tfiala/lldb/issues/62.

llvm-svn: 227915
This commit is contained in:
Chaoren Lin 2015-02-03 01:50:56 +00:00
parent 9d617ba613
commit c0e5ac84b0
1 changed files with 0 additions and 5 deletions

View File

@ -2741,11 +2741,6 @@ NativeProcessLinux::Resume (const ResumeActionList &resume_actions)
}
}
// If we resumed anything, this command was about starting a stopped thread,
// not about stopping something that we should trigger later.
if (resume_count > 0)
return error;
// If we had any thread stopping, then do a deferred notification of the chosen stop thread id and signal
// after all other running threads have stopped.
if (deferred_signal_tid != LLDB_INVALID_THREAD_ID)