binutils-gdb/gdb/testsuite/gdb.python
Andreas Arnez a59add0c2e GDB testsuite: Fix warnings with -std=gnu11
Since upstream GCC has changed the default C language dialect to
'gnu11', it yields multiple warnings in the GDB testsuite for missing
function return types and implicit function declarations.  This patch
attempts to fix these.

gdb/testsuite/ChangeLog:

	* gdb.ada/cond_lang/foo.c (callme): Add return type.
	* gdb.base/call-sc.c (zed): Likewise.
	* gdb.base/checkpoint.c (main): Likewise.
	* gdb.base/dump.c (main): Likewise.
	* gdb.base/gcore.c (main): Likewise.
	* gdb.base/huge.c (main): Likewise.
	* gdb.base/multi-forks.c (main): Likewise.
	* gdb.base/pr10179-a.c (main): Likewise.
	* gdb.base/savedregs.c (main): Likewise.
	* gdb.base/sigaltstack.c (main): Likewise.
	* gdb.base/siginfo.c (main): Likewise.
	* gdb.base/structs.c (zed): Likewise.
	* gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
	* gdb.mi/mi-syn-frame.c (main): Likewise.
	* gdb.mi/until.c (foo, main): Likewise.
	* gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
	* gdb.base/solib-weak.c (foo): Declare.
	* gdb.base/attach-twice.c: Include stdio.h.
	* gdb.base/weaklib1.c: Likewise.
	* gdb.base/weaklib2.c: Likewise.
	* gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
	* gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
	unistd.h.
	* gdb.base/attach-pie-misread.c: Include stdlib.h.
	* gdb.mi/mi-exit-code.c: Likewise.
	* gdb.base/break-interp-lib.c: Include string.h.
	* gdb.base/coremaker.c: Likewise.
	* gdb.base/testenv.c: Likewise.
	* gdb.python/py-finish-breakpoint.c: Likewise.
	* gdb.base/inferior-died.c: Include sys/wait.h.
	* gdb.base/fileio.c: Include time.h.
	* gdb.base/async-shell.c: Include unistd.h.
	* gdb.base/dprintf-non-stop.c: Likewise.
	* gdb.base/info-os.c: Likewise.
	* gdb.mi/mi-console.c: Likewise.
	* gdb.mi/watch-nonstop.c: Likewise.
	* gdb.python/py-events.c: Likewise.
	* gdb.base/async.c (baz): Move up before its invocation.
	* gdb.base/code_elim2.c (my_global_func): Likewise.
	* gdb.base/skip-solib-lib.c (multiply): Likewise.
	* gdb.base/advance.c (func2): Likewise.
2014-11-13 10:20:44 +01:00
..
amd64-py-framefilter-invalidarg.S
lib-types.cc
lib-types.exp
Makefile.in
py-arch.c
py-arch.exp
py-block.c
py-block.exp
py-breakpoint.c
py-breakpoint.exp Fix mingw32 failures due to incorrect directory separator in pattern 2014-10-17 11:28:17 -03:00
py-caller-is.c
py-caller-is.exp
py-cmd.c
py-cmd.exp
py-completion.exp
py-completion.py
py-error.exp
py-error.py
py-events-shlib.c
py-events.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
py-events.exp New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-events.py New python event "clear_objfiles". 2014-10-17 11:12:17 -07:00
py-evsignal.exp
py-evthreads.c
py-evthreads.exp
py-explore-cc.exp
py-explore.c
py-explore.cc
py-explore.exp
py-finish-breakpoint2.cc
py-finish-breakpoint2.exp
py-finish-breakpoint2.py
py-finish-breakpoint.c GDB testsuite: Fix warnings with -std=gnu11 2014-11-13 10:20:44 +01:00
py-finish-breakpoint.exp
py-finish-breakpoint.py
py-frame-args.c
py-frame-args.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-frame-args.py
py-frame-inline.c
py-frame-inline.exp
py-frame.c
py-frame.exp
py-framefilter-gdb.py.in
py-framefilter-invalidarg-gdb.py.in
py-framefilter-invalidarg.exp
py-framefilter-invalidarg.py
py-framefilter-mi.c
py-framefilter-mi.exp
py-framefilter.c
py-framefilter.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-framefilter.py
py-function.exp
py-inferior.c
py-inferior.exp
py-infthread.c
py-infthread.exp
py-linetable.c
py-linetable.exp
py-linetable.S
py-mi.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-objfile-script-gdb.py Rename py-objfile-script-gdb.py.in to py-objfile-script-gdb.py 2014-10-20 13:34:33 +08:00
py-objfile-script.c
py-objfile-script.exp Rename py-objfile-script-gdb.py.in to py-objfile-script-gdb.py 2014-10-20 13:34:33 +08:00
py-objfile.c
py-objfile.exp Add ability to add attributes to gdb.Objfile and gdb.Progspace objects. 2014-10-30 17:05:17 -07:00
py-parameter.exp Fix py-parameter.exp for remote host 2014-10-15 15:33:24 +08:00
py-pp-integral.c
py-pp-integral.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-pp-integral.py
py-pp-maint.c
py-pp-maint.exp
py-pp-maint.py
py-pp-re-notag.c
py-pp-re-notag.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-pp-re-notag.py
py-prettyprint.c
py-prettyprint.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-prettyprint.py
py-progspace.c
py-progspace.exp Add ability to add attributes to gdb.Objfile and gdb.Progspace objects. 2014-10-30 17:05:17 -07:00
py-prompt.c
py-prompt.exp
py-section-script.c
py-section-script.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-section-script.py
py-shared-sl.c
py-shared.c
py-shared.exp
py-strfns.c
py-strfns.exp
py-symbol.c
py-symbol.exp Fix file name matching on remote host. 2014-10-15 15:33:24 +08:00
py-symtab.exp Fix file name matching on remote host. 2014-10-15 15:33:24 +08:00
py-sync-interp.c
py-sync-interp.exp
py-template.cc
py-template.exp
py-type.c
py-type.exp
py-typeprint.cc
py-typeprint.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-typeprint.py
py-value-cc.cc
py-value-cc.exp
py-value.c
py-value.exp Skip testing argv[0] on target argv[0] isn't available 2014-10-18 20:58:06 +08:00
py-xmethods.cc
py-xmethods.exp Don't remove files copied to host 2014-10-20 13:34:28 +08:00
py-xmethods.py
python-1.c
python.c
python.exp Match the working directory on remote host 2014-11-02 21:08:06 +08:00
source1
source2.py