mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2012-11-15 Pierre Muller <muller@sourceware.org>
|
2012-11-15 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
* configure.ac (AC_CHECK_HEADERS): Add wait.h header.
|
* configure.ac (AC_CHECK_HEADERS): Add wait.h header.
|
||||||
|
2
gdb/gdbserver/configure
vendored
2
gdb/gdbserver/configure
vendored
@ -4569,7 +4569,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
||||||
-Wformat-nonliteral -Wno-char-subscripts"
|
-Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
|
||||||
|
|
||||||
WARN_CFLAGS=""
|
WARN_CFLAGS=""
|
||||||
if test "x$GCC" = xyes
|
if test "x$GCC" = xyes
|
||||||
|
@ -126,7 +126,7 @@ if test "${ERROR_ON_WARNING}" = yes ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
|
||||||
-Wformat-nonliteral -Wno-char-subscripts"
|
-Wformat-nonliteral -Wno-char-subscripts -Wempty-body"
|
||||||
|
|
||||||
WARN_CFLAGS=""
|
WARN_CFLAGS=""
|
||||||
if test "x$GCC" = xyes
|
if test "x$GCC" = xyes
|
||||||
|
@ -659,7 +659,9 @@ linux_create_inferior (char *program, char **allargs)
|
|||||||
dup2 (2, 1);
|
dup2 (2, 1);
|
||||||
if (write (2, "stdin/stdout redirected\n",
|
if (write (2, "stdin/stdout redirected\n",
|
||||||
sizeof ("stdin/stdout redirected\n") - 1) < 0)
|
sizeof ("stdin/stdout redirected\n") - 1) < 0)
|
||||||
/* Errors ignored. */;
|
{
|
||||||
|
/* Errors ignored. */;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
execv (program, allargs);
|
execv (program, allargs);
|
||||||
|
Reference in New Issue
Block a user