@@ -287,12 +287,12 @@ PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedThrea
287
287
}
288
288
289
289
bool lldb_private::python::SWIGBridge::LLDBSWIGPythonCallThreadPlan(
290
- void *implementor , const char *method_name, lldb_private::Event *event,
290
+ void *implementer , const char *method_name, lldb_private::Event *event,
291
291
bool &got_error) {
292
292
got_error = false;
293
293
294
294
PyErr_Cleaner py_err_cleaner(false);
295
- PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor ));
295
+ PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementer ));
296
296
auto pfunc = self.ResolveName<PythonCallable>(method_name);
297
297
298
298
if (!pfunc.IsAllocated())
@@ -325,12 +325,12 @@ bool lldb_private::python::SWIGBridge::LLDBSWIGPythonCallThreadPlan(
325
325
}
326
326
327
327
bool lldb_private::python::SWIGBridge::LLDBSWIGPythonCallThreadPlan(
328
- void *implementor , const char *method_name, lldb_private::Stream *stream,
328
+ void *implementer , const char *method_name, lldb_private::Stream *stream,
329
329
bool &got_error) {
330
330
got_error = false;
331
331
332
332
PyErr_Cleaner py_err_cleaner(false);
333
- PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor ));
333
+ PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementer ));
334
334
auto pfunc = self.ResolveName<PythonCallable>(method_name);
335
335
336
336
if (!pfunc.IsAllocated())
@@ -845,16 +845,6 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallParsedCommandObject(
845
845
return false;
846
846
847
847
auto cmd_retobj_arg = SWIGBridge::ToSWIGWrapper(cmd_retobj);
848
-
849
- // FIXME:
850
- // I wanted to do something like:
851
- // size_t num_elem = args.size();
852
- // PythonList my_list(num_elem);
853
- // for (const char *elem : args)
854
- // my_list.append(PythonString(elem);
855
- //
856
- // and then pass my_list to the pfunc, but that crashes somewhere
857
- // deep in Python for reasons that aren't clear to me.
858
848
859
849
pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger)), SWIGBridge::ToSWIGWrapper(args_impl),
860
850
SWIGBridge::ToSWIGWrapper(exe_ctx_ref_sp), cmd_retobj_arg.obj());
0 commit comments