forked from OSchip/llvm-project
<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
This commit is contained in:
parent
50a16a4275
commit
5c47650fe0
|
@ -689,7 +689,8 @@ LLDBSWIGPythonCreateOSPlugin
|
||||||
Py_INCREF(SBProc_PyObj);
|
Py_INCREF(SBProc_PyObj);
|
||||||
|
|
||||||
PyObject* session_dict = NULL;
|
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);
|
Py_XINCREF (session_dict);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue