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 9979a02..4cfe38e 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -207,21 +207,6 @@ OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, PythonDictionary thread_dict(threads_list.GetItemAtIndex(i)); if (thread_dict) { - if (thread_dict.GetItemForKey("core")) - { - // We have some threads that are saying they are on a "core", which means - // they map the threads that are gotten from the lldb_private::Process subclass - // so clear the new threads list so the core threads don't show up - new_thread_list.Clear(); - break; - } - } - } - for (i=0; i 0; } -- cgit v1.1