diff options
-rw-r--r-- | gdb/python/python.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c index 59b16ff..40d42b6 100644 --- a/gdb/python/python.c +++ b/gdb/python/python.c @@ -2146,6 +2146,12 @@ Return the selected inferior object." }, { "inferiors", gdbpy_inferiors, METH_NOARGS, "inferiors () -> (gdb.Inferior, ...).\n\ Return a tuple containing all inferiors." }, + + { "top_interpreter_is_mi", gdbpy_top_interpreter_is_mi, METH_NOARGS, + "top_interpreter_is_mi () -> boolean.\n\ +Return True if the top level interpreter is MI-like." + }, + {NULL, NULL, 0, NULL} }; |