[Lldb-commits] [PATCH] Delete ScriptInterpreterObject

Greg Clayton clayborg at gmail.com
Mon Mar 16 11:21:29 PDT 2015


So the operating system plugin isn't working with this. To test this you can debug any program and stop at main and type:

  (lldb) settings set target.process.python-os-plugin-path /Volumes/work/gclayton/Documents/src/lldb/trunk/examples/python/operating_system.py
  (lldb) thread list

It should then display extra threads that is got from the operating_system.py:

  (lldb) settings set target.process.python-os-plugin-path /Volumes/work/gclayton/Documents/src/lldb/trunk/examples/python/operating_system.py
  (lldb) thread list 
  Process 55813 stopped
  * thread #1: tid = 0x219d30, 0x0000000100000b96 a.out main(argc=1, argv=0x00007fff5fbff8a8, envp=0x00007fff5fbff8b8, aapl=0x00007fff5fbff9e8) + 70, stop reason = breakpoint 1.1, queue = com.apple.main-thread
    thread #2: tid = 0x111111111, 0x0000000000000011, name = one, queue = queue1
    thread #3: tid = 0x222222222, 0x0000000000000075, name = two, queue = queue2
    thread #4: tid = 0x333333333, 0x0000000100000000 a.out _mh_execute_header, name = three, queue = queue3
  (lldb) settings clear target.process.python-os-plugin-path
  (lldb) thread list
  Process 55813 stopped
  * thread #1: tid = 0x219d30, 0x0000000100000b96 a.out main(argc=1, argv=0x00007fff5fbff8a8, envp=0x00007fff5fbff8b8, aapl=0x00007fff5fbff9e8) + 70, stop reason = breakpoint 1.1, queue = com.apple.main-thread

I will add a test for this.


http://reviews.llvm.org/D8128

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list