From 83793fc18868a9671d49f9122467039037a4c3e6 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Wed, 29 May 2013 23:31:14 +0000 Subject: Cleaned up the thread updating code in the OperatingSystemPython class. It doesn't need to clear the "new_thread_list" anymore as it is always empty. It also now assigns the "core_thread_list" to "new_thread_list" if no threads are detected through python. llvm-svn: 182893 --- .../OperatingSystem/Python/OperatingSystemPython.cpp | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp') diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp index 9979a02a80e..4cfe38e5840 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -202,21 +202,6 @@ OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, const uint32_t num_threads = threads_list.GetSize(); if (num_threads > 0) { - for (i=0; i 0; } -- cgit v1.2.3