diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-01-09 02:05:38 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-01-09 02:05:38 +0000 |
| commit | 89f255e426a790abb95a815a591bf54ca7162bed (patch) | |
| tree | 55e380bf66deca544eea76547fa4581e778f62dc /lldb/examples/python | |
| parent | e3ab3d0e2ccbb1121cad742e1acb12175fa79f6e (diff) | |
| download | bcm5719-llvm-89f255e426a790abb95a815a591bf54ca7162bed.tar.gz bcm5719-llvm-89f255e426a790abb95a815a591bf54ca7162bed.zip | |
Updated documentation on the "register_data_addr" key that can be supplied in the "thread" dictionary return value for the python OS plug-ins.
llvm-svn: 171934
Diffstat (limited to 'lldb/examples/python')
| -rw-r--r-- | lldb/examples/python/operating_system.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/examples/python/operating_system.py b/lldb/examples/python/operating_system.py index 568b974fe53..b0ce05d3624 100644 --- a/lldb/examples/python/operating_system.py +++ b/lldb/examples/python/operating_system.py @@ -37,6 +37,11 @@ class OperatingSystemPlugIn(object): # 'none' thread is just stopped because the process is stopped # 'trace' the thread just single stepped # The usual value for this while threads are in memory is 'none' + # register_data_addr => the address of the register data in memory (optional key/value pair) + # Specifying this key/value pair for a thread will avoid a call to get_register_data() + # and can be used when your registers are in a thread context structure that is contiguous + # in memory. Don't specify this if your register layout in memory doesn't match the layout + # described by the dictionary returned from a call to the get_register_info() method. self.threads = [ { 'tid' : 0x111111111, 'name' : 'one' , 'queue' : 'queue1', 'state' : 'stopped', 'stop_reason' : 'breakpoint'}, { 'tid' : 0x222222222, 'name' : 'two' , 'queue' : 'queue2', 'state' : 'stopped', 'stop_reason' : 'none' }, |

