From b9338ca15edcf5afd7ca807e14e5cee3db1e3027 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 10 Dec 2015 12:02:07 -0800 Subject: [PATCH] fixup 102430245.patch --- gdb/python/python.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gdb/python/python.c b/gdb/python/python.c index 59b16ff0bd2..40d42b6b4a1 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} }; -- 2.47.2