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/passc-dyn.exp | |
parent | Use clean_restart in gdb.opencl (diff) | |
download | binutils-gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.tar.gz binutils-gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.tar.bz2 binutils-gdb-a7e727aea73a6aef4b7fef4cf8fb958f3438d84d.zip |
Use clean_restart in gdb.trace
Change gdb.trace to use clean_restart more consistently.
Diffstat (limited to 'gdb/testsuite/gdb.trace/passc-dyn.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/passc-dyn.exp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.trace/passc-dyn.exp b/gdb/testsuite/gdb.trace/passc-dyn.exp index c005c79053b..26a2cac4dd9 100644 --- a/gdb/testsuite/gdb.trace/passc-dyn.exp +++ b/gdb/testsuite/gdb.trace/passc-dyn.exp @@ -17,9 +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 \ @@ -27,9 +24,9 @@ if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ untested "failed to compile" return -1 } -gdb_load $binfile + +clean_restart $binfile runto_main -gdb_reinitialize_dir $srcdir/$subdir if {![gdb_target_supports_trace]} { unsupported "current target does not support trace" |