X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.mi%2Fnew-ui-mi-sync.exp;h=a55fae67dfe7d0e8899b6e860edbba7f5c0dc2f6;hb=121b3efd49f98e4049281b3ba7a258e650e40b38;hp=b0f6c31e35433801eb08e9d1feaecc5e100a9fc1;hpb=bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp index b0f6c31e35..a55fae67df 100644 --- a/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp +++ b/gdb/testsuite/gdb.mi/new-ui-mi-sync.exp @@ -1,4 +1,4 @@ -# Copyright 2016 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 @@ -20,12 +20,18 @@ # commands, MI should not process further commands until the inferior # stops again. See PR gdb/20418. +# 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 if {[build_executable $testfile.exp $testfile ${srcfile} "debug"] == -1} { - untested "failed to compile $testfile" + untested "failed to compile" return -1 } @@ -77,7 +83,7 @@ proc do_test {sync_command} { # in the separate MI UI. Note the "run" variant usually triggers # =thread-group-started/=thread-created/=library-loaded as well. with_spawn_id $gdb_main_spawn_id { - gdb_test "add-inferior" "Added inferior 2" + gdb_test "add-inferior" "Added inferior 2 on connection .*" } # Interrupt the program.