Fixing an issue in the OS sample
llvm-svn: 162531
diff --git a/lldb/examples/python/operating_system.py b/lldb/examples/python/operating_system.py
index 2f4deac..8ba1d86 100644
--- a/lldb/examples/python/operating_system.py
+++ b/lldb/examples/python/operating_system.py
@@ -10,6 +10,7 @@
if type(process) is lldb.SBProcess and process.IsValid():
self.process = process
self.registers = None # Will be an dictionary containing info for each register
+ self.threads = None # Will be an dictionary containing info for each thread
def get_thread_info(self):
if not self.threads: