diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp index 14e820f..54383f6 100644 --- a/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp +++ b/gdb/testsuite/gdb.mi/mi-catch-cpp-exceptions.exp @@ -27,13 +27,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb return -1 } -if [mi_gdb_start] { - continue -} -mi_delete_breakpoints -mi_gdb_reinitialize_dir $srcdir/$subdir -mi_gdb_load ${binfile} -if {![mi_run_to_main]} { +mi_clean_restart $binfile +if {[mi_runto_main] < 0} { return -1 } set libstdcxx_probe_tests_supported [expr ![mi_skip_libstdcxx_probe_tests]] |