diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/tls.exp')
-rw-r--r-- | gdb/testsuite/gdb.threads/tls.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp index 4f88c0e..f041571 100644 --- a/gdb/testsuite/gdb.threads/tls.exp +++ b/gdb/testsuite/gdb.threads/tls.exp @@ -18,7 +18,7 @@ load_lib gdb-python.exp standard_testfile tls.c tls2.c -if [istarget "*-*-linux"] then { +if {[istarget "*-*-linux"]} { set target_cflags "-D_MIT_POSIX_THREADS" } else { set target_cflags "" @@ -167,7 +167,7 @@ gdb_test_multiple "print a_thread_local" "" { } } -if ![runto_main] then { +if {![runto_main]} { return 0 } |