diff options
author | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-05-07 15:01:34 +0000 |
---|---|---|
committer | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-05-07 15:01:34 +0000 |
commit | f5b92402bf1f9641aeaa5d1dc80fd3e88ff23116 (patch) | |
tree | 9024f5f03a2374b3f0881cd511839d65fe33256d /lldb/source/Plugins/OperatingSystem/Python | |
parent | 954c6ef10f446f89236680962feac21fa48b189f (diff) | |
download | bcm5719-llvm-f5b92402bf1f9641aeaa5d1dc80fd3e88ff23116.tar.gz bcm5719-llvm-f5b92402bf1f9641aeaa5d1dc80fd3e88ff23116.zip |
Temporarily reverting r181091 and r181106 due to the vast test breakage on the Linux buildbots
while we develop a better understanding of how to manage the thread lists in a platform-independant fashion.
Reviewed by: Daniel Malea
llvm-svn: 181323
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python')
-rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp | 6 | ||||
-rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp index 0528033f3b1..fc05d6e18ec 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp @@ -171,9 +171,7 @@ OperatingSystemPython::GetPluginVersion() } bool -OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, - ThreadList &core_thread_list, - ThreadList &new_thread_list) +OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, ThreadList &new_thread_list) { if (!m_interpreter || !m_python_object_sp) return false; @@ -196,6 +194,8 @@ OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, PythonList threads_list(m_interpreter->OSPlugin_ThreadsInfo(m_python_object_sp)); if (threads_list) { + ThreadList core_thread_list(new_thread_list); + uint32_t i; const uint32_t num_threads = threads_list.GetSize(); for (i=0; i<num_threads; ++i) diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h index 0055058192c..756d054cca1 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -65,8 +65,7 @@ public: // lldb_private::OperatingSystem Methods //------------------------------------------------------------------ virtual bool - UpdateThreadList (lldb_private::ThreadList &old_thread_list, - lldb_private::ThreadList &real_thread_list, + UpdateThreadList (lldb_private::ThreadList &old_thread_list, lldb_private::ThreadList &new_thread_list); virtual void |