diff options
author | Jason Molenda <jmolenda@apple.com> | 2013-05-04 05:51:02 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2013-05-04 05:51:02 +0000 |
commit | 513db4d9f425d36df4bd9388d4c40a4c6afd1e1d (patch) | |
tree | 30a98077fc70033c966ab71288949f034aa7e9c1 | |
parent | 914d31ffd3a3215cc6f9d78a60ee43ff70bed4ff (diff) | |
download | bcm5719-llvm-513db4d9f425d36df4bd9388d4c40a4c6afd1e1d.tar.gz bcm5719-llvm-513db4d9f425d36df4bd9388d4c40a4c6afd1e1d.zip |
Change ProcessKDP::UpdateThreadList's call to FindThreadByProtocolID
to not let it update the thread list or else we'll infinite recurse
call back to UpdateThreadList.
llvm-svn: 181106
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 1ed1cb0aab3..3eb20175bdd 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -477,7 +477,7 @@ ProcessKDP::UpdateThreadList (ThreadList &old_thread_list, ThreadList &new_threa // Even though there is a CPU mask, it doesn't mean we can see each CPU // indivudually, there is really only one. Lets call this thread 1. - ThreadSP thread_sp (old_thread_list.FindThreadByProtocolID(g_kernel_tid)); + ThreadSP thread_sp (old_thread_list.FindThreadByProtocolID(g_kernel_tid, false)); if (!thread_sp) thread_sp = GetKernelThread (); new_thread_list.AddThread(thread_sp); |