aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/fileio.exp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-05-18 11:47:05 +0100
committerPedro Alves <palves@redhat.com>2017-05-18 11:47:05 +0100
commitd2a03b77450dce58f6b4f9f7fdd3c346a555bcf7 (patch)
tree76b7c340407e8531a74d57b51e09ba582db3f910 /gdb/testsuite/gdb.base/fileio.exp
parent9d43118ee54de3fbffea27a5a10ae11ba5ee00d0 (diff)
downloadfsf-binutils-gdb-d2a03b77450dce58f6b4f9f7fdd3c346a555bcf7.zip
fsf-binutils-gdb-d2a03b77450dce58f6b4f9f7fdd3c346a555bcf7.tar.gz
fsf-binutils-gdb-d2a03b77450dce58f6b4f9f7fdd3c346a555bcf7.tar.bz2
gdb.base/fileio.exp: Remove nowarnings
... and quiet -Wnonnull in a different way. gdb/testsuite/ChangeLog: 2017-05-18 Pedro Alves <palves@redhat.com> * gdb.base/fileio.c (null_str): New global. (test_stat): Use it. * gdb.base/fileio.exp: Remove nowarnings.
Diffstat (limited to 'gdb/testsuite/gdb.base/fileio.exp')
-rw-r--r--gdb/testsuite/gdb.base/fileio.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/fileio.exp b/gdb/testsuite/gdb.base/fileio.exp
index 14aaa0d..6bb7141 100644
--- a/gdb/testsuite/gdb.base/fileio.exp
+++ b/gdb/testsuite/gdb.base/fileio.exp
@@ -31,7 +31,7 @@ if {[is_remote host]} {
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable \
- [list debug nowarnings "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } {
+ [list debug "additional_flags=-DOUTDIR=\"$outdir/\""]] != "" } {
untested "failed to compile"
return -1
}