old-cross-binutils/gdb/testsuite/gdb.arch
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
..
aarch64-atomic-inst.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-atomic-inst.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
aarch64-fp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
alpha-step.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
alpha-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
altivec-abi.c
altivec-abi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
altivec-regs.c
altivec-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-byte.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-disp-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-disp-step.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-dword.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-inline.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-param.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value-paramref.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-entry-value.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-i386-address.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-i386-address.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-middle.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-top.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-invalid-stack-top.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-optimout-repeat.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-prologue-xmm.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-pseudo.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-optional-prefix.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-optional-prefix.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-special-operands.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-three-arg-disp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-three-arg-disp.S Fix for PR tdep/16397: SystemTap SDT probe support for x86 doesn't work with "triplet operands" 2014-02-20 18:49:09 -03:00
amd64-stap-triplet.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-triplet.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-wrong-subexp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-stap-wrong-subexp.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx.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-cxx1.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx1.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx2.cc Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-cxx2.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-noret.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-noret.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-noret.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-tailcall-ret.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-ret.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-ret.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
amd64-word.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-bl-branch-dest.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-bl-branch-dest.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-disp-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
arm-disp-step.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
avr-flash-qualifier.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
avr-flash-qualifier.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-abi.c
e500-abi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
e500-regs.c
e500-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1291.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1291.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1431.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1431.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1558.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
gdb1558.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx512.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-avx512.exp [testsuite patch] Fix avx512.exp regression 2015-01-07 15:42:57 +01:00
i386-bp_permanent.c Remove testsuite compile errors with GCC5. 2015-01-25 18:50:56 +01:00
i386-bp_permanent.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-byte.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-cfi-notcurrent.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-cfi-notcurrent.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-disp-step.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-disp-step.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-dr3-watch.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-dr3-watch.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-float.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-float.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi-asm.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-gnu-cfi.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-mpx.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-mpx.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-permbkpt.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-permbkpt.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-pseudo.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-signal.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-signal.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size-overlap.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size-overlap.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-size.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-stack-align.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-stack-align.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-stack-align.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-sse.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.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-stap-eval-lang-ada.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-unwind.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-unwind.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
i386-word.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ia64-breakpoint-shadow.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ia64-breakpoint-shadow.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
iwmmxt-regs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
iwmmxt-regs.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 Add AVX512 registers support to GDB and GDBserver. 2014-04-24 16:30:03 +02:00
mips-octeon-bbit.c
mips-octeon-bbit.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-inmain.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-main.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sin.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinfrob.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinfrob16.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinmain.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks-sinmips16.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
mips16-thunks.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pa-nullify.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
pa-nullify.s
pa64-nullify.s
powerpc-aix-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-aix-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-d128-regs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-d128-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-power.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-power.s Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-stackless.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
powerpc-stackless.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-dfp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-dfp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-fp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc-fp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc64-atomic-inst.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
ppc64-atomic-inst.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-multiarch.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-multiarch.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdbregs.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
s390-tdbregs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sparc-sysstep.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
sparc-sysstep.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-info.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-info.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-ls.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
spu-ls.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-bx-pc.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-bx-pc.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-prologue.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-prologue.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-singlestep.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb-singlestep.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb2-it.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
thumb2-it.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
vsx-regs.c
vsx-regs.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00