test suite update - gdb.base/[t-z]
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / varargs.exp
index 70de81dc3e770e05a3aa87be31e4a47c37280b73..7a427ff9ba4968255773a1c96c66ef2abde3e018 100644 (file)
@@ -30,9 +30,8 @@
 
 
 set prototypes 0
-set testfile "varargs"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+
+standard_testfile .c
 
 if [get_compiler_info] {
     return -1
@@ -56,10 +55,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
 
 # Start with a fresh gdb.
 
-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"
 gdb_test_no_output "set width 0"
This page took 0.03016 seconds and 4 git commands to generate.