diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/print-threads.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/print-threads.exp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.threads/print-threads.exp b/gdb/testsuite/gdb.threads/print-threads.exp index b5a99fe..8336e29 100644 --- a/gdb/testsuite/gdb.threads/print-threads.exp +++ b/gdb/testsuite/gdb.threads/print-threads.exp @@ -21,26 +21,19 @@ # handling for thread exit. -set testfile "print-threads" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} +standard_testfile # regexp for "horizontal" text (i.e. doesn't include newline or # carriage return) set horiz "\[^\n\r\]*" -if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "incdir=${objdir}"]] != "" } { +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug] != "" } { return -1 } # Now we can proceed with the real testing. -# 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" |