PR mi/18833 gdb.execute ("set param value", to_string=True) will crash gdb if using MI
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / mi-support.exp
index 0d17ecb9ce866bcee2ec324a3b46fc18f05a84ca..dd6c41ace1b48bd9081039e316ba133a037c8af4 100644 (file)
@@ -2501,3 +2501,12 @@ proc mi_make_breakpoint_table {bp_list} {
     # Assemble the final regexp.
     return "BreakpointTable={nr_rows=\"$nr\",nr_cols=\"$nc\",$header,$body}"
 }
+
+# Return a 1 for configurations that do not support Python scripting.
+# Note: This also sets various globals that specify which version of Python
+# is in use.  See skip_python_tests_prompt.
+
+proc mi_skip_python_tests {} {
+    global mi_gdb_prompt
+    return [skip_python_tests_prompt "$mi_gdb_prompt$"]
+}
This page took 0.023363 seconds and 4 git commands to generate.