[Lldb-commits] [Diffusion] rL234364: Fix stepping a virtual thread when the python operating system was enabled.

Greg Clayton clayborg at gmail.com
Fri Apr 10 09:51:48 PDT 2015


Yikes, you were correct:

% svn commit test/functionalities/plugins/python_os_plugin/operating_system2.py
Adding         test/functionalities/plugins/python_os_plugin/operating_system2.py
Transmitting file data .
Committed revision 234609.

This should fix things. Sorry about that.

> On Apr 10, 2015, at 8:28 AM, Ilia K <ki.stfu at gmail.com> wrote:
> 
> @clayborg wrote:
> 
>> This test is easy to try out on your own:
> 
>> 
> 
>> cd test/functionalities/plugins/python_os_plugin
> 
>> make
> 
>> ../../build/Debug/lldb a.out
> 
>> (lldb) b main
> 
>> (lldb) r
> 
>> (lldb) thread list
> 
>> You should see a normal thread this
> 
>> (lldb) settings set target.process.python-os-plugin-path ./operating_system2.py
> 
>> (lldb) thread list
> 
>> 
> 
>> your thread from above should now display as 0x111111111
> 
>> 
> 
>> This is why the test is failing. Let me know what you see?
> 
> 
> There is no the operating_system2.py in svn. Did you forget to commit this file or it's a typo?
> 
> Can we warn if plugin doesn't exist?
> 
> 
> /lldb/trunk/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py:119 Where is the operating_system2.py file?
> 
> USERS
>  ki.stfu (Auditor)
> 
> http://reviews.llvm.org/rL234364
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 





More information about the lldb-commits mailing list