Solve two duplicate test names in the test script:
gdb.mi/mi-catch-cpp-exceptions.exp
by moving the call to restart_for_test inside the with_test_prefix
block. There should be no difference in what is tested after this
commit.
if { $libstdcxx_probe_tests_supported == 1 } {
# Check that the temporary switch works when used with a regexp.
- restart_for_test
with_test_prefix "all with -t and regexp" {
+ restart_for_test
setup_catchpoint "throw" "-t -r my_ex"
setup_catchpoint "rethrow" "-t -r _except"
setup_catchpoint "catch" "-t -r my_exception"