Author: chaoren Date: Mon Feb 2 19:50:56 2015 New Revision: 227915 URL: http://llvm.org/viewvc/llvm-project?rev=227915&view=rev Log: Fix step commands that mix running threads and stepping threads.
This fixes https://github.com/tfiala/lldb/issues/62. Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp?rev=227915&r1=227914&r2=227915&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp (original) +++ lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Mon Feb 2 19:50:56 2015 @@ -2741,11 +2741,6 @@ NativeProcessLinux::Resume (const Resume } } - // 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) _______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
