diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/tls-nodebug.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/tls-nodebug.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/tls-nodebug.exp b/gdb/testsuite/gdb.threads/tls-nodebug.exp index 6b8023a..00e539b 100644 --- a/gdb/testsuite/gdb.threads/tls-nodebug.exp +++ b/gdb/testsuite/gdb.threads/tls-nodebug.exp @@ -16,7 +16,7 @@ standard_testfile -if [istarget "*-*-linux"] then { +if {[istarget "*-*-linux"]} { set target_cflags "-D_MIT_POSIX_THREADS" } else { set target_cflags "" @@ -27,7 +27,7 @@ if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executab } clean_restart ${binfile} -if ![runto_main] then { +if {![runto_main]} { return 0 } |