Add "info connections" command, "info inferiors" connection number/string
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / user-selected-context-sync.exp
index 989bc56d35b76c3d09b6c3f601ea287a3acfef02..390df005542cc937fe287530bc5460161344a73e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2016-2019 Free Software Foundation, Inc.
+# Copyright 2016-2020 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # - Thread 3 of each inferior is either stopped at /* thread loop line */, if we
 #   are using all-stop, or running, if we are using non-stop.
 
+# Do not run if gdb debug is enabled as it doesn't work for separate-mi-tty.
+if [gdb_debug_enabled] {
+    untested "debug is enabled"
+    return 0
+}
+
 load_lib mi-support.exp
 
 standard_testfile
@@ -409,7 +415,7 @@ proc_with_prefix test_setup { mode } {
        # Add the second inferior now.  While this is not mandatory, it allows
        # us to assume that per-inferior thread numbering will be used,
        # simplifying test_continue_to_start a bit (Thread 1.2 and not Thread 2).
-       gdb_test "add-inferior" "Added inferior 2" "add inferior 2"
+       gdb_test "add-inferior" "Added inferior 2 on connection .*" "add inferior 2"
 
        # Prepare the first inferior for the test.
        test_continue_to_start $mode 1
This page took 0.035233 seconds and 4 git commands to generate.