aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.compile/compile-ifunc.exp6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5bba9d7..7b271e2 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-08-26 Luis Machado <lgustavo@codesourcery.com>
+
+ * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
+ to C.
+
2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
* gdb.base/run-after-attach.exp: New test file.
diff --git a/gdb/testsuite/gdb.compile/compile-ifunc.exp b/gdb/testsuite/gdb.compile/compile-ifunc.exp
index 026c62f..3a96552 100644
--- a/gdb/testsuite/gdb.compile/compile-ifunc.exp
+++ b/gdb/testsuite/gdb.compile/compile-ifunc.exp
@@ -25,6 +25,12 @@ with_test_prefix "nodebug" {
return -1
}
+ # This binary has no debug information, so force the language to C in case
+ # GDB happened to see real asm code when it stopped at the entry point
+ # when talking to a remote target, like gdbserver. This guarantees the
+ # feature check below will work.
+ gdb_test_no_output "set language c" ""
+
if {[skip_compile_feature_tests]} {
untested "compile command not supported (could not find libcc1 shared library?)"
return -1