diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/packetlen.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/packetlen.exp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.trace/packetlen.exp b/gdb/testsuite/gdb.trace/packetlen.exp index 31686bc..df4badc 100644 --- a/gdb/testsuite/gdb.trace/packetlen.exp +++ b/gdb/testsuite/gdb.trace/packetlen.exp @@ -17,10 +17,6 @@ load_lib "trace-support.exp" - -gdb_exit -gdb_start - standard_testfile actions.c require gdb_trace_common_supports_arch if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ @@ -28,11 +24,11 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ untested "failed to compile" return -1 } -gdb_load $binfile + +clean_restart $binfile gdb_test "tstop" ".*" "" gdb_test "tfind none" ".*" "" runto_main -gdb_reinitialize_dir $srcdir/$subdir if {![gdb_target_supports_trace]} { unsupported "current target does not support trace" |