binutils-gdb/gdb/testsuite/gdb.reverse
Mark Wielaard 37bc665e4e Remove testsuite compile errors with GCC5.
GCC5 defaults to the GNU11 standard for C and warns by default for
implicit function declarations and implicit return types.
https://gcc.gnu.org/gcc-5/porting_to.html

Fixing these issues in the testsuite turns 9 untested and 17 unsupported
testcases into 417 new passes when compiling with GCC5.

gdb/testsuite/ChangeLog:

        * gdb.arch/i386-bp_permanent.c (standard): New declaration.
        * gdb.base/disp-step-fork.c: Include unistd.h.
        * gdb.base/siginfo-obj.c: Include stdio.h.
        * gdb.base/siginfo-thread.c: Likewise.
        * gdb.mi/non-stop.c: Include unistd.h.
        * gdb.mi/nsthrexec.c: Include stdio.h.
        * gdb.mi/pthreads.c: Include unistd.h.
        * gdb.modula2/unbounded1.c (main): Declare returns int.
        * gdb.reverse/consecutive-reverse.c: Likewise.
        * gdb.threads/create-fail.c: Include unistd.h.
        * gdb.threads/killed.c: Likewise.
        * gdb.threads/linux-dp.c: Likewise.
        * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
        * gdb.threads/non-ldr-exc-2.c: Likewise.
        * gdb.threads/non-ldr-exc-3.c: Likewise.
        * gdb.threads/non-ldr-exc-4.c: Likewise.
        * gdb.threads/pthreads.c: Include unistd.h.
        (main): Declare returns int.
        * gdb.threads/tls-main.c (foo): New declaration.
        * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
2015-01-25 18:50:56 +01:00
..
amd64-tailcall-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-reverse.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
break-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
break-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
break-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
consecutive-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
consecutive-reverse.c Remove testsuite compile errors with GCC5. 2015-01-25 18:50:56 +01:00
consecutive-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
finish-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
finish-reverse-bkpt.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
finish-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
finish-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i387-env-reverse.c
i387-env-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i387-stack-reverse.c
i387-stack-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
machinestate-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
machinestate.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
machinestate.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
Makefile.in
ms1.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
next-reverse-bkpt-over-sr.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
rerun-prec.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
rerun-prec.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
shr1.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
shr2.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
shr.h Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sigall-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sigall-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sigall-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
singlejmp-reverse-nodebug.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
singlejmp-reverse-nodebug.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
singlejmp-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
singlejmp-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
singlejmp-reverse.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
solib-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
solib-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
solib-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
step-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
step-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
step-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
until-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
until-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
until-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ur1.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
watch-precsave.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
watch-reverse.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
watch-reverse.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00