Reinstating r181091 and r181106 with fix for Linux regressions.

llvm-svn: 181340
This commit is contained in:
Andrew Kaylor
2013-05-07 18:35:34 +00:00
parent 6baa776173
commit ba4e61d3f5
14 changed files with 158 additions and 132 deletions

View File

@@ -171,7 +171,9 @@ OperatingSystemPython::GetPluginVersion()
}
bool
OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, ThreadList &new_thread_list)
OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list,
ThreadList &core_thread_list,
ThreadList &new_thread_list)
{
if (!m_interpreter || !m_python_object_sp)
return false;
@@ -194,8 +196,6 @@ OperatingSystemPython::UpdateThreadList (ThreadList &old_thread_list, ThreadList
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)