aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/change-loc.exp
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-06-26 18:25:19 +0000
committerTom Tromey <tromey@redhat.com>2012-06-26 18:25:19 +0000
commit497a5eb0393355660ba219e968dd5ef655d081b5 (patch)
tree105e205dfc7e0d749c9b6ae095b03f3fa2c1b7eb /gdb/testsuite/gdb.trace/change-loc.exp
parent7686c074591882316c738d09af170b43f42f3ffe (diff)
downloadgdb-497a5eb0393355660ba219e968dd5ef655d081b5.zip
gdb-497a5eb0393355660ba219e968dd5ef655d081b5.tar.gz
gdb-497a5eb0393355660ba219e968dd5ef655d081b5.tar.bz2
* gdb.trace/actions.exp: Use standard_testfile.
* gdb.trace/ax.exp: Use standard_testfile. * gdb.trace/backtrace.exp: Use standard_testfile. * gdb.trace/change-loc.exp: Use standard_testfile. * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/collection.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/deltrace.exp: Use standard_testfile. * gdb.trace/disconnected-tracing.exp: Use standard_testfile. * gdb.trace/ftrace.exp: Use standard_testfile. * gdb.trace/infotrace.exp: Use standard_testfile. * gdb.trace/packetlen.exp: Use standard_testfile. * gdb.trace/passc-dyn.exp: Use standard_testfile. * gdb.trace/passcount.exp: Use standard_testfile. * gdb.trace/pending.exp: Use standard_testfile. * gdb.trace/report.exp: Use standard_testfile. * gdb.trace/save-trace.exp: Use standard_testfile. * gdb.trace/stap-trace.exp: Use standard_testfile. * gdb.trace/status-stop.exp: Use standard_testfile. * gdb.trace/strace.exp: Use standard_testfile. * gdb.trace/tfile.exp: Use standard_testfile. * gdb.trace/tfind.exp: Use standard_testfile. * gdb.trace/trace-break.exp: Use standard_testfile. * gdb.trace/trace-mt.exp: Use standard_testfile. * gdb.trace/tracecmd.exp: Use standard_testfile. * gdb.trace/tspeed.exp: Use standard_testfile. * gdb.trace/tstatus.exp: Use standard_testfile. * gdb.trace/tsv.exp: Use standard_testfile. * gdb.trace/unavailable.exp: Use standard_testfile, prepare_for_testing. * gdb.trace/while-dyn.exp: Use standard_testfile. * gdb.trace/while-stepping.exp: Use standard_testfile.
Diffstat (limited to 'gdb/testsuite/gdb.trace/change-loc.exp')
-rw-r--r--gdb/testsuite/gdb.trace/change-loc.exp8
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.trace/change-loc.exp b/gdb/testsuite/gdb.trace/change-loc.exp
index c881ae7..0064b6f 100644
--- a/gdb/testsuite/gdb.trace/change-loc.exp
+++ b/gdb/testsuite/gdb.trace/change-loc.exp
@@ -18,16 +18,14 @@ if {[skip_shlib_tests]} {
return 0
}
-set testfile "change-loc"
+standard_testfile
set libfile1 "change-loc-1"
set libfile2 "change-loc-2"
-set srcfile $testfile.c
set executable $testfile
set libsrc1 $srcdir/$subdir/$libfile1.c
set libsrc2 $srcdir/$subdir/$libfile2.c
-set binfile $objdir/$subdir/$testfile
-set lib_sl1 $objdir/$subdir/$libfile1.sl
-set lib_sl2 $objdir/$subdir/$libfile2.sl
+set lib_sl1 [standard_output_file $libfile1.sl]
+set lib_sl2 [standard_output_file $libfile2.sl]
set lib_opts debug