diff --git a/gdb/testsuite/gdb.server/attach-flag.exp b/gdb/testsuite/gdb.server/attach-flag.exp index ad67303a7dd..f275b9fc178 100644 --- a/gdb/testsuite/gdb.server/attach-flag.exp +++ b/gdb/testsuite/gdb.server/attach-flag.exp @@ -37,7 +37,7 @@ proc run_one_test { non-stop target-non-stop } { } if { [prepare_for_testing "failed to prepare" $::testfile $::srcfile \ - {debug pthreads}] } { + {debug pthreads additional_flags=-std=gnu99}] } { return -1 } }