| Index: gdb/testsuite/gdb.threads/watchthreads2.exp
|
| diff --git a/gdb/testsuite/gdb.threads/watchthreads2.exp b/gdb/testsuite/gdb.threads/watchthreads2.exp
|
| index ef4fa29233da536d9879fa8a52dd85fe17bc8d3e..d67b9f094ed2aed8564aa3e941834acc20f87dec 100644
|
| --- a/gdb/testsuite/gdb.threads/watchthreads2.exp
|
| +++ b/gdb/testsuite/gdb.threads/watchthreads2.exp
|
| @@ -21,10 +21,6 @@
|
| set NR_THREADS 4
|
| set X_INCR_COUNT 10
|
|
|
| -if $tracelevel {
|
| - strace $tracelevel
|
| -}
|
| -
|
|
|
| # This test verifies that a watchpoint is detected in the proper thread
|
| # so the test is only meaningful on a system with hardware watchpoints.
|
| @@ -32,17 +28,12 @@ if {[skip_hw_watchpoint_tests]} {
|
| return 0
|
| }
|
|
|
| -set testfile "watchthreads2"
|
| -set srcfile ${testfile}.c
|
| -set binfile ${objdir}/${subdir}/${testfile}
|
| -if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "incdir=${objdir}" "additional_flags=-DNR_THREADS=$NR_THREADS -DX_INCR_COUNT=$X_INCR_COUNT"]] != "" } {
|
| +standard_testfile
|
| +if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS -DX_INCR_COUNT=$X_INCR_COUNT"]] != "" } {
|
| return -1
|
| }
|
|
|
| -gdb_exit
|
| -gdb_start
|
| -gdb_reinitialize_dir $srcdir/$subdir
|
| -gdb_load ${binfile}
|
| +clean_restart ${binfile}
|
|
|
| gdb_test_no_output "set can-use-hw-watchpoints 1" ""
|
|
|
|
|