summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2012-08-24 01:53:47 +0000
committerEnrico Granata <egranata@apple.com>2012-08-24 01:53:47 +0000
commitb710b8db3d911f5c7899dcb6dd9ca249d44b8455 (patch)
tree2ab31264078a41c690f7252a4866c4b654bb8cd3 /lldb/examples/python
parent2443cbd7f5a925bd8c08a5d23225977ef59964ba (diff)
downloadbcm5719-llvm-b710b8db3d911f5c7899dcb6dd9ca249d44b8455.tar.gz
bcm5719-llvm-b710b8db3d911f5c7899dcb6dd9ca249d44b8455.zip
Fixing an issue in the OS sample
llvm-svn: 162531
Diffstat (limited to 'lldb/examples/python')
-rw-r--r--lldb/examples/python/operating_system.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/examples/python/operating_system.py b/lldb/examples/python/operating_system.py
index 2f4deace8ca..8ba1d861427 100644
--- a/lldb/examples/python/operating_system.py
+++ b/lldb/examples/python/operating_system.py
@@ -10,6 +10,7 @@ class PlugIn(object):
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:
OpenPOWER on IntegriCloud