diff options
author | qiyao <qiyao> | 2012-11-26 13:30:06 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-11-26 13:30:06 +0000 |
commit | 210b2c6cf73a2e2ec2987dbbef629e97306578b5 (patch) | |
tree | 65bb55f80ba2bd20bb9b070d489e95e4c4da168c /gdb/gdbserver/configure | |
parent | 077a4ce440fab9a5d7c454a6d5063752f362d3c3 (diff) | |
download | gdb-210b2c6cf73a2e2ec2987dbbef629e97306578b5.tar.gz |
gdb/gdbserver/
2012-11-26 Yao Qi <yao@codesourcery.com>
* configure.ac (build_warnings): Append '-Wempty-body'.
* configure: Regenerated.
* linux-low.c (linux_create_inferior): Use braces for empty 'if'
body.
Diffstat (limited to 'gdb/gdbserver/configure')
-rwxr-xr-x | gdb/gdbserver/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index b451a22bc32..02d45da71fc 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -4569,7 +4569,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then fi build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ --Wformat-nonliteral -Wno-char-subscripts" +-Wformat-nonliteral -Wno-char-subscripts -Wempty-body" WARN_CFLAGS="" if test "x$GCC" = xyes |