Index: gdb/testsuite/gdb.trace/tracecmd.exp |
diff --git a/gdb/testsuite/gdb.trace/tracecmd.exp b/gdb/testsuite/gdb.trace/tracecmd.exp |
index 10cf27fed942f7e3e0c5e1a1d46125ca11e506b3..b4fc3e2c02d2b2c7ef286c2ef4d6722ac57e1a20 100644 |
--- a/gdb/testsuite/gdb.trace/tracecmd.exp |
+++ b/gdb/testsuite/gdb.trace/tracecmd.exp |
@@ -17,16 +17,10 @@ |
load_lib "trace-support.exp"; |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
gdb_exit |
gdb_start |
-set testfile "actions" |
-set srcfile ${testfile}.c |
-set binfile $objdir/$subdir/tracecmd |
+standard_testfile actions.c |
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \ |
executable {debug nowarnings}] != "" } { |
untested tracecmd.exp |