binutils-gdb/gdb/testsuite/gdb.compile
Luis Machado 8ce7415353 Force language to C in gdb.compile/compile-ifunc.exp
Due to the lack of debug information in the binary, GDB is unable to figure
out what language is being used.  This may be a problem when doing remote
debugging and the binary stops at the entry point containing asm code.

In this case GDB will switch to asm as current language and will not switch
back to C when it reaches main, which in turn causes the compile feature check
to malfunction.

This is solved by forcing the language to C after reaching main.

gdb/testsuite/ChangeLog:

2015-08-26  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
	to C.
2015-08-27 01:49:05 -03:00
..
Makefile.in
compile-constvar.S Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-constvar.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-ifunc.c compile: Fix GNU-IFUNC funcs called from injected code 2015-02-26 17:40:57 +01:00
compile-ifunc.exp Force language to C in gdb.compile/compile-ifunc.exp 2015-08-27 01:49:05 -03:00
compile-mod.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-nodebug.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-ops.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-ops.exp compile: Use -Wall, not -w 2015-05-16 14:39:59 +02:00
compile-print.c compile: New 'compile print' 2015-05-16 14:45:06 +02:00
compile-print.exp compile-print.exp: xfail->kfail for '@' GDB array operator 2015-06-04 21:35:43 +02:00
compile-setjmp-mod.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-setjmp.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-setjmp.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-shlib.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-tls.c Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile-tls.exp Update year range in copyright notice of all files owned by the GDB project. 2015-01-01 13:32:14 +04:00
compile.c compile: Warn for old GCC on cv-qualified self-reference 2015-07-08 14:42:19 +02:00
compile.exp compile: Warn for old GCC on cv-qualified self-reference 2015-07-08 14:42:19 +02:00