-# 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
}
proc add_inferior { expected_num message } {
- gdb_test "add-inferior" "Added inferior ${expected_num}" "${message}"
+ gdb_test "add-inferior" "Added inferior ${expected_num}( on connection .*)?" "${message}"
}
proc test_remove_inferiors { } {
# Test that it is not possible to remove the current inferior.
gdb_test "remove-inferiors 2" \
- "warning: Can not remove current symbol inferior 2." \
+ "warning: Can not remove current inferior 2." \
"can't remove current inferior"
# Test that it is possible to remove a non-active non-current inferior.
# Load binfile and start the inferior.
set binfile_re [string_to_regexp ${binfile}]
gdb_test "file ${binfile}" \
- "Reading symbols from ${binfile_re}...done." \
- "load binary"
+ [multi_line "Reading symbols from ${binfile_re}\.\.\.(" \
+ "Expanding full symbols from ${binfile_re}\.\.\.)?" ] \
+ "load binary"
if {![runto_main]} {
- fail "Couldn't run to main."
+ fail "couldn't run to main."
return
}