summaryrefslogtreecommitdiffstats
path: root/lldb/examples/python/operating_system.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/examples/python/operating_system.py')
-rw-r--r--lldb/examples/python/operating_system.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/examples/python/operating_system.py b/lldb/examples/python/operating_system.py
index 204063298bf..cd4ae37f854 100644
--- a/lldb/examples/python/operating_system.py
+++ b/lldb/examples/python/operating_system.py
@@ -25,8 +25,9 @@ class OperatingSystemPlugIn(object):
return self.process.target
def create_thread(self, tid, context):
+ print 'tid type is: ' + str(type(tid))
if tid == 0x444444444:
- thread_info = { 'tid' : 0x444444444, 'name' : 'four' , 'queue' : 'queue4', 'state' : 'stopped', 'stop_reason' : 'none' }
+ thread_info = { 'tid' : tid, 'name' : 'four' , 'queue' : 'queue4', 'state' : 'stopped', 'stop_reason' : 'none' }
self.threads.append(thread_info)
return thread_info
return None
OpenPOWER on IntegriCloud