@@ -15861,6 +15861,33 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_WasInterrupted(PyObject *self, P
15861
15861
}
15862
15862
15863
15863
15864
+ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_InterruptCommand(PyObject *self, PyObject *args) {
15865
+ PyObject *resultobj = 0;
15866
+ lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ;
15867
+ void *argp1 = 0 ;
15868
+ int res1 = 0 ;
15869
+ PyObject *swig_obj[1] ;
15870
+ bool result;
15871
+
15872
+ if (!args) SWIG_fail;
15873
+ swig_obj[0] = args;
15874
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreter, 0 | 0 );
15875
+ if (!SWIG_IsOK(res1)) {
15876
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreter_InterruptCommand" "', argument " "1"" of type '" "lldb::SBCommandInterpreter *""'");
15877
+ }
15878
+ arg1 = reinterpret_cast< lldb::SBCommandInterpreter * >(argp1);
15879
+ {
15880
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
15881
+ result = (bool)(arg1)->InterruptCommand();
15882
+ SWIG_PYTHON_THREAD_END_ALLOW;
15883
+ }
15884
+ resultobj = SWIG_From_bool(static_cast< bool >(result));
15885
+ return resultobj;
15886
+ fail:
15887
+ return NULL;
15888
+ }
15889
+
15890
+
15864
15891
SWIGINTERN PyObject *SBCommandInterpreter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15865
15892
PyObject *obj;
15866
15893
if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL;
@@ -23013,6 +23040,85 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleCommand(PyObject *self, PyObject *ar
23013
23040
}
23014
23041
23015
23042
23043
+ SWIGINTERN PyObject *_wrap_SBDebugger_RequestInterrupt(PyObject *self, PyObject *args) {
23044
+ PyObject *resultobj = 0;
23045
+ lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
23046
+ void *argp1 = 0 ;
23047
+ int res1 = 0 ;
23048
+ PyObject *swig_obj[1] ;
23049
+
23050
+ if (!args) SWIG_fail;
23051
+ swig_obj[0] = args;
23052
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 );
23053
+ if (!SWIG_IsOK(res1)) {
23054
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_RequestInterrupt" "', argument " "1"" of type '" "lldb::SBDebugger *""'");
23055
+ }
23056
+ arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1);
23057
+ {
23058
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
23059
+ (arg1)->RequestInterrupt();
23060
+ SWIG_PYTHON_THREAD_END_ALLOW;
23061
+ }
23062
+ resultobj = SWIG_Py_Void();
23063
+ return resultobj;
23064
+ fail:
23065
+ return NULL;
23066
+ }
23067
+
23068
+
23069
+ SWIGINTERN PyObject *_wrap_SBDebugger_CancelInterruptRequest(PyObject *self, PyObject *args) {
23070
+ PyObject *resultobj = 0;
23071
+ lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
23072
+ void *argp1 = 0 ;
23073
+ int res1 = 0 ;
23074
+ PyObject *swig_obj[1] ;
23075
+
23076
+ if (!args) SWIG_fail;
23077
+ swig_obj[0] = args;
23078
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 );
23079
+ if (!SWIG_IsOK(res1)) {
23080
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_CancelInterruptRequest" "', argument " "1"" of type '" "lldb::SBDebugger *""'");
23081
+ }
23082
+ arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1);
23083
+ {
23084
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
23085
+ (arg1)->CancelInterruptRequest();
23086
+ SWIG_PYTHON_THREAD_END_ALLOW;
23087
+ }
23088
+ resultobj = SWIG_Py_Void();
23089
+ return resultobj;
23090
+ fail:
23091
+ return NULL;
23092
+ }
23093
+
23094
+
23095
+ SWIGINTERN PyObject *_wrap_SBDebugger_InterruptRequested(PyObject *self, PyObject *args) {
23096
+ PyObject *resultobj = 0;
23097
+ lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
23098
+ void *argp1 = 0 ;
23099
+ int res1 = 0 ;
23100
+ PyObject *swig_obj[1] ;
23101
+ bool result;
23102
+
23103
+ if (!args) SWIG_fail;
23104
+ swig_obj[0] = args;
23105
+ res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 );
23106
+ if (!SWIG_IsOK(res1)) {
23107
+ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_InterruptRequested" "', argument " "1"" of type '" "lldb::SBDebugger *""'");
23108
+ }
23109
+ arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1);
23110
+ {
23111
+ SWIG_PYTHON_THREAD_BEGIN_ALLOW;
23112
+ result = (bool)(arg1)->InterruptRequested();
23113
+ SWIG_PYTHON_THREAD_END_ALLOW;
23114
+ }
23115
+ resultobj = SWIG_From_bool(static_cast< bool >(result));
23116
+ return resultobj;
23117
+ fail:
23118
+ return NULL;
23119
+ }
23120
+
23121
+
23016
23122
SWIGINTERN PyObject *_wrap_SBDebugger_GetListener(PyObject *self, PyObject *args) {
23017
23123
PyObject *resultobj = 0;
23018
23124
lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ;
@@ -84396,6 +84502,7 @@ static PyMethodDef SwigMethods[] = {
84396
84502
{ "SBCommandInterpreter_HandleCompletionWithDescriptions", _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions, METH_VARARGS, "SBCommandInterpreter_HandleCompletionWithDescriptions(SBCommandInterpreter self, char const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, SBStringList matches, SBStringList descriptions) -> int"},
84397
84503
{ "SBCommandInterpreter_IsActive", _wrap_SBCommandInterpreter_IsActive, METH_O, "SBCommandInterpreter_IsActive(SBCommandInterpreter self) -> bool"},
84398
84504
{ "SBCommandInterpreter_WasInterrupted", _wrap_SBCommandInterpreter_WasInterrupted, METH_O, "SBCommandInterpreter_WasInterrupted(SBCommandInterpreter self) -> bool"},
84505
+ { "SBCommandInterpreter_InterruptCommand", _wrap_SBCommandInterpreter_InterruptCommand, METH_O, "SBCommandInterpreter_InterruptCommand(SBCommandInterpreter self) -> bool"},
84399
84506
{ "SBCommandInterpreter_swigregister", SBCommandInterpreter_swigregister, METH_O, NULL},
84400
84507
{ "SBCommandInterpreter_swiginit", SBCommandInterpreter_swiginit, METH_VARARGS, NULL},
84401
84508
{ "new_SBCommandInterpreterRunOptions", _wrap_new_SBCommandInterpreterRunOptions, METH_NOARGS, "new_SBCommandInterpreterRunOptions() -> SBCommandInterpreterRunOptions"},
@@ -84641,6 +84748,9 @@ static PyMethodDef SwigMethods[] = {
84641
84748
{ "SBDebugger_GetErrorFile", _wrap_SBDebugger_GetErrorFile, METH_O, "SBDebugger_GetErrorFile(SBDebugger self) -> SBFile"},
84642
84749
{ "SBDebugger_GetCommandInterpreter", _wrap_SBDebugger_GetCommandInterpreter, METH_O, "SBDebugger_GetCommandInterpreter(SBDebugger self) -> SBCommandInterpreter"},
84643
84750
{ "SBDebugger_HandleCommand", _wrap_SBDebugger_HandleCommand, METH_VARARGS, "SBDebugger_HandleCommand(SBDebugger self, char const * command)"},
84751
+ { "SBDebugger_RequestInterrupt", _wrap_SBDebugger_RequestInterrupt, METH_O, "SBDebugger_RequestInterrupt(SBDebugger self)"},
84752
+ { "SBDebugger_CancelInterruptRequest", _wrap_SBDebugger_CancelInterruptRequest, METH_O, "SBDebugger_CancelInterruptRequest(SBDebugger self)"},
84753
+ { "SBDebugger_InterruptRequested", _wrap_SBDebugger_InterruptRequested, METH_O, "SBDebugger_InterruptRequested(SBDebugger self) -> bool"},
84644
84754
{ "SBDebugger_GetListener", _wrap_SBDebugger_GetListener, METH_O, "SBDebugger_GetListener(SBDebugger self) -> SBListener"},
84645
84755
{ "SBDebugger_HandleProcessEvent", _wrap_SBDebugger_HandleProcessEvent, METH_VARARGS, "\n"
84646
84756
"SBDebugger_HandleProcessEvent(SBDebugger self, SBProcess process, SBEvent event, SBFile out, SBFile err)\n"
0 commit comments