diff options
| author | Greg Clayton <gclayton@apple.com> | 2014-02-13 23:34:38 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2014-02-13 23:34:38 +0000 |
| commit | e98008cc587749568a6661931ed8973b64f7c2f7 (patch) | |
| tree | edd79f6e2f5e7e6d92a76d7bb14f28ddab54bb95 /lldb/source/Plugins/Process/gdb-remote | |
| parent | 967bf5813fb609940fa06510ad70d48268c362d5 (diff) | |
| download | bcm5719-llvm-e98008cc587749568a6661931ed8973b64f7c2f7.tar.gz bcm5719-llvm-e98008cc587749568a6661931ed8973b64f7c2f7.zip | |
Fixed deadlocks that could occur when using python for breakpoints, operating system plugins, and other async python usage.
<rdar://problem/16054348>
<rdar://problem/16040833>
llvm-svn: 201372
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote')
| -rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index f3a0e349da7..e1989eb1dd1 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp @@ -1170,7 +1170,11 @@ ProcessGDBRemote::DoResume () bool continue_packet_error = false; if (m_gdb_comm.HasAnyVContSupport ()) { - if (m_continue_c_tids.size() == num_threads) + if (m_continue_c_tids.size() == num_threads || + (m_continue_c_tids.empty() && + m_continue_C_tids.empty() && + m_continue_s_tids.empty() && + m_continue_S_tids.empty())) { // All threads are continuing, just send a "c" packet continue_packet.PutCString ("c"); |

