summaryrefslogtreecommitdiffstats
path: root/lldb/examples
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-10-25 17:56:31 +0000
committerGreg Clayton <gclayton@apple.com>2012-10-25 17:56:31 +0000
commitead45e0174579d47baba4e5a8ab0549ffc448f34 (patch)
tree748d5b83a9613a453d6f6e618131cd9dbcfd5ebd /lldb/examples
parent823e8bb7beff0296ad6b1cb1df76f8cbcbbb175e (diff)
downloadbcm5719-llvm-ead45e0174579d47baba4e5a8ab0549ffc448f34.tar.gz
bcm5719-llvm-ead45e0174579d47baba4e5a8ab0549ffc448f34.zip
Allow operating system plug-ins to specify the address for registers so we don't have to create data up front.
llvm-svn: 166701
Diffstat (limited to 'lldb/examples')
-rw-r--r--lldb/examples/python/operating_system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/operating_system.py b/lldb/examples/python/operating_system.py
index b8bff1bd498..568b974fe53 100644
--- a/lldb/examples/python/operating_system.py
+++ b/lldb/examples/python/operating_system.py
@@ -40,7 +40,7 @@ class OperatingSystemPlugIn(object):
self.threads = [
{ 'tid' : 0x111111111, 'name' : 'one' , 'queue' : 'queue1', 'state' : 'stopped', 'stop_reason' : 'breakpoint'},
{ 'tid' : 0x222222222, 'name' : 'two' , 'queue' : 'queue2', 'state' : 'stopped', 'stop_reason' : 'none' },
- { 'tid' : 0x333333333, 'name' : 'three', 'queue' : 'queue3', 'state' : 'stopped', 'stop_reason' : 'trace' }
+ { 'tid' : 0x333333333, 'name' : 'three', 'queue' : 'queue3', 'state' : 'stopped', 'stop_reason' : 'trace' , 'register_data_addr' : 0x100000000 }
]
return self.threads
OpenPOWER on IntegriCloud