diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 10:18:01 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:31 -0700 |
commit | a7e727aea73a6aef4b7fef4cf8fb958f3438d84d (patch) | |
tree | 16a5ab7669c756ffd80c14519fda90432702f9ef /gdb/testsuite/gdb.trace/save-trace.exp | |
parent | 49e118b61f07812235faec67cc783a0e866c3ff8 (diff) | |
download | gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.zip gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.tar.gz gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.tar.bz2 |
Use clean_restart in gdb.trace
Change gdb.trace to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.trace/save-trace.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/save-trace.exp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.trace/save-trace.exp b/gdb/testsuite/gdb.trace/save-trace.exp index 71a094a..501e171 100644 --- a/gdb/testsuite/gdb.trace/save-trace.exp +++ b/gdb/testsuite/gdb.trace/save-trace.exp @@ -18,9 +18,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 +25,8 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ untested "failed to compile" return -1 } -gdb_reinitialize_dir $srcdir/$subdir - -# If testing on a remote host, download the source file. -# remote_download host $srcdir/$subdir/$srcfile +clean_restart gdb_file_cmd $binfile # define relative source line numbers: |