diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/async-shell.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/async-shell.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/async-shell.exp b/gdb/testsuite/gdb.base/async-shell.exp index 4949cf9..2e8085a 100644 --- a/gdb/testsuite/gdb.base/async-shell.exp +++ b/gdb/testsuite/gdb.base/async-shell.exp @@ -29,9 +29,11 @@ if { [prepare_for_testing ${testfile}.exp ${testfile}] } { return -1 } +set gdbindex_warning_re "warning: Skipping \[^\r\n\]+ \\.gdb_index section \[^\r\n\]*" + gdb_test_no_output "set target-async on " gdb_test_no_output "set non-stop on" -gdb_test "run &" "Starting program: \[^\r\n\]*" +gdb_test "run &" "Starting program: \[^\r\n\]*(\r\n$gdbindex_warning_re)?" # `sleep 5' here would workaround the bug, do not sleep here. # "shell" could eat waitpid event from the asynchronous inferior process. |