diff options
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi-logging.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-logging.exp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.mi/mi-logging.exp b/gdb/testsuite/gdb.mi/mi-logging.exp index 4540143..6da365e 100644 --- a/gdb/testsuite/gdb.mi/mi-logging.exp +++ b/gdb/testsuite/gdb.mi/mi-logging.exp @@ -16,11 +16,6 @@ load_lib mi-support.exp set MIFLAGS "-i=mi" -gdb_exit -if [mi_gdb_start] { - continue -} - standard_testfile basics.c set opts {debug} @@ -29,7 +24,9 @@ if [build_executable $testfile.exp $testfile $srcfile $opts] { return -1 } -if {[mi_run_to_main] < 0} { +mi_clean_restart $binfile + +if {[mi_runto_main] < 0} { return -1 } |