From c0e5ac84b0afad7181b21e2328c7cb973bceffe9 Mon Sep 17 00:00:00 2001 From: Chaoren Lin Date: Tue, 3 Feb 2015 01:50:56 +0000 Subject: [PATCH] Fix step commands that mix running threads and stepping threads. This fixes https://github.com/tfiala/lldb/issues/62. llvm-svn: 227915 --- lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index d6270ec..436f4e2 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp @@ -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) -- 2.7.4