Add nowarnings in gdb.base/fileio.exp
authorYao Qi <yao.qi@linaro.org>
Wed, 17 May 2017 13:46:17 +0000 (14:46 +0100)
committerYao Qi <yao.qi@linaro.org>
Wed, 17 May 2017 13:46:17 +0000 (14:46 +0100)
commit0d5c69990c1992289f7b286600a43de4d5d44062
treeed7bf4349913b4257d0108fbbfdff316c79521f3
parent21873064e835ffb16e92048482e34f19e6a415da
Add nowarnings in gdb.base/fileio.exp

I see the following warning in gdb.base/fileio.c,

testsuite/gdb.base/fileio.c:297:3: warning: null argument where non-null required (argument 1) [-Wnonnull]
   ret = stat (NULL, &st);
   ^

This patch adds "nowarnings" to the list passed to gdb_compile.

gdb/testsuite:

2017-05-17  Yao Qi  <yao.qi@linaro.org>

* gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/fileio.exp