]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
fixup 102430245.patch users/dje/google-7.10
authorDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:02:07 +0000 (12:02 -0800)
committerDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:02:07 +0000 (12:02 -0800)
gdb/python/python.c

index 59b16ff0bd2fd36ef651c199a404e0889dca921d..40d42b6b4a1db68be1c4cd17ce8f1906de4db722 100644 (file)
@@ -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}
 };