aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/async.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/async.exp')
-rw-r--r--gdb/testsuite/gdb.base/async.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp
index d135cfd..5872dc5 100644
--- a/gdb/testsuite/gdb.base/async.exp
+++ b/gdb/testsuite/gdb.base/async.exp
@@ -33,7 +33,7 @@ set testfile "async"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
-if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-w}] != "" } {
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}