binutils-gdb/gdb/testsuite/gdb.compile
Tom de Vries 669d046839 [gdb/testsuite] Require c++11 where necessary
When building gdb on ubuntu 16.04 with gcc 5.4.0, and running the gdb
testsuite we run into failures due test-cases requiring at least c++1.

Fix this by adding -std=c++11 to those test-cases.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-05-21  Tom de Vries  <tdevries@suse.de>

	* gdb.arch/amd64-eval.exp: Require c++11.
	* gdb.base/max-depth.exp: Same.
	* gdb.compile/compile-cplus-array-decay.exp: Same.
	* gdb.cp/meth-typedefs.exp: Same.
	* gdb.cp/subtypes.exp: Same.
	* gdb.cp/temargs.exp: Same.
2019-05-21 16:32:41 +02:00
..
compile-constvar.c
compile-constvar.S
compile-cplus-anonymous.cc
compile-cplus-anonymous.exp
compile-cplus-array-decay.cc
compile-cplus-array-decay.exp
compile-cplus-inherit.cc
compile-cplus-inherit.exp
compile-cplus-member.cc
compile-cplus-member.exp
compile-cplus-method.cc
compile-cplus-method.exp
compile-cplus-mod.c
compile-cplus-namespace.cc
compile-cplus-namespace.exp
compile-cplus-nested.cc
compile-cplus-nested.exp
compile-cplus-print.c
compile-cplus-print.exp
compile-cplus-virtual.cc
compile-cplus-virtual.exp
compile-cplus.c
compile-cplus.exp
compile-ifunc.c
compile-ifunc.exp
compile-mod.c
compile-nodebug.c
compile-ops.c
compile-ops.exp
compile-print.c
compile-print.exp
compile-setjmp-mod.c
compile-setjmp.c
compile-setjmp.exp
compile-shlib.c
compile-tls.c
compile-tls.exp
compile.c
compile.exp