Index: gdb/testsuite/gdb.base/cvexpr.exp |
diff --git a/gdb/testsuite/gdb.base/cvexpr.exp b/gdb/testsuite/gdb.base/cvexpr.exp |
index d836d4a5c3ef15690f22821b03ccc399e22400e9..c5e4fafa63de5881865a79e47ab915f3fbbdf7b2 100644 |
--- a/gdb/testsuite/gdb.base/cvexpr.exp |
+++ b/gdb/testsuite/gdb.base/cvexpr.exp |
@@ -1,4 +1,4 @@ |
-# Copyright (C) 2001, 2007-2012 Free Software Foundation, Inc. |
+# Copyright (C) 2001-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -22,19 +22,14 @@ |
# test running programs |
# |
-set testfile "cvexpr" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .c |
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |
untested cvexpr.exp |
return -1 |
} |
-gdb_exit |
-gdb_start |
-gdb_reinitialize_dir $srcdir/$subdir |
-gdb_load ${binfile} |
+clean_restart ${binfile} |
gdb_test_no_output "set print sevenbit-strings" |
gdb_test_no_output "set print address off" |