diff options
author | Enrico Granata <egranata@apple.com> | 2013-06-28 23:33:18 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2013-06-28 23:33:18 +0000 |
commit | 5c47650fe03c08a03cfec2258e3d59dbecf66f88 (patch) | |
tree | 8eadcd81c5e908103073481e66130c62be478947 /lldb/scripts/Python/python-wrapper.swig | |
parent | 50a16a4275a8dd884fd4bae4e1d5b71e2f86e9c1 (diff) | |
download | bcm5719-llvm-5c47650fe03c08a03cfec2258e3d59dbecf66f88.tar.gz bcm5719-llvm-5c47650fe03c08a03cfec2258e3d59dbecf66f88.zip |
<rdar://problem/14309010>
OS Plugins' __init__ method takes two arguments: (self,process)
I was erroneously passing the session_dict as well as part of my PyCallable changes and that caused plugins to fail to work
llvm-svn: 185240
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
-rw-r--r-- | lldb/scripts/Python/python-wrapper.swig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-wrapper.swig b/lldb/scripts/Python/python-wrapper.swig index 590c4506da9..a0361553b28 100644 --- a/lldb/scripts/Python/python-wrapper.swig +++ b/lldb/scripts/Python/python-wrapper.swig @@ -689,7 +689,8 @@ LLDBSWIGPythonCreateOSPlugin Py_INCREF(SBProc_PyObj); PyObject* session_dict = NULL; - retval = pfunc(SBProc_PyObj, session_dict = FindSessionDictionary(session_dictionary_name)); + session_dict = session_dict = FindSessionDictionary(session_dictionary_name); + retval = pfunc(SBProc_PyObj); Py_XINCREF (session_dict); |