summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-12-10 12:02:07 -0800
committerDoug Evans <dje@google.com>2015-12-10 12:02:07 -0800
commitb9338ca15edcf5afd7ca807e14e5cee3db1e3027 (patch)
tree93d34b5c228949702183335cda4f469db566441c
parent127eb0c170940a8542b3145322a0c8ea81362a49 (diff)
downloadbinutils-gdb-users/dje/google-7.10.tar.gz
fixup 102430245.patchusers/dje/google-7.10
-rw-r--r--gdb/python/python.c6
1 files changed, 6 insertions, 0 deletions
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}
};