[Lldb-commits] [lldb] r159288 - /lldb/trunk/scripts/Python/interface/SBProcess.i
Greg Clayton
gclayton at apple.com
Wed Jun 27 13:19:56 PDT 2012
Author: gclayton
Date: Wed Jun 27 15:19:56 2012
New Revision: 159288
URL: http://llvm.org/viewvc/llvm-project?rev=159288&view=rev
Log:
Fixed the get_process_thread_list function to correctly return a list of all threads in a process.
Modified:
lldb/trunk/scripts/Python/interface/SBProcess.i
Modified: lldb/trunk/scripts/Python/interface/SBProcess.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBProcess.i?rev=159288&r1=159287&r2=159288&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBProcess.i (original)
+++ lldb/trunk/scripts/Python/interface/SBProcess.i Wed Jun 27 15:19:56 2012
@@ -341,7 +341,7 @@
'''An accessor function that returns a list() that contains all threads in a lldb.SBProcess object.'''
threads = []
for idx in range(self.GetNumThreads()):
- threads.append(GetThreadAtIndex(idx))
+ threads.append(self.threads_access(idx))
return threads
__swig_getmethods__["threads"] = get_process_thread_list
More information about the lldb-commits
mailing list