From: Jose E. Marchesi Date: Fri, 20 Nov 2015 09:48:56 +0000 (+0100) Subject: sparc: fix build of gdb/testsuite/gdb.arch/sparc-sysstep.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c88ed8f116dc5f9471280c73f9ab08c81a86f2d;p=binutils-gdb.git sparc: fix build of gdb/testsuite/gdb.arch/sparc-sysstep.c This patch adds a missing include that makes the test program to not be built (--Wimplicit-function-declaration). gdb/testsuite/ChangeLog: 2015-11-20 Jose E. Marchesi * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e584ef06d2f..68d564f3236 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-11-20 Jose E. Marchesi + + * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid. + 2015-11-19 Sandra Loosemore * gdb.base/nested-subp1.exp: Pass executable, not executable name, diff --git a/gdb/testsuite/gdb.arch/sparc-sysstep.c b/gdb/testsuite/gdb.arch/sparc-sysstep.c index 79e344b0fe1..1356339e762 100644 --- a/gdb/testsuite/gdb.arch/sparc-sysstep.c +++ b/gdb/testsuite/gdb.arch/sparc-sysstep.c @@ -18,6 +18,7 @@ along with this program. If not, see . */ #include +#include int global;