aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2011-08-05 09:41:27 +0000
committerYao Qi <yao@codesourcery.com>2011-08-05 09:41:27 +0000
commit1cf0e11f28bc97fd0181394abb78acf65d845be3 (patch)
treec067868d015e4efd2f97828b28e98649569a2963 /gdb/testsuite/gdb.base
parentd969d15f50138890a02f8cc8d4266dee448ceff0 (diff)
downloadgdb-1cf0e11f28bc97fd0181394abb78acf65d845be3.zip
gdb-1cf0e11f28bc97fd0181394abb78acf65d845be3.tar.gz
gdb-1cf0e11f28bc97fd0181394abb78acf65d845be3.tar.bz2
gdb/testsuite/
* gdb.base/callfuncs.exp: Set language after main. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/inherit.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 78e6dd2..638c569 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -338,10 +338,10 @@ proc rerun_and_prepare {} {
gdb_test_no_output "set overload-resolution 0"
} else {
- gdb_test_no_output "set language c"
if { ![runto_main] } {
gdb_suppress_tests;
}
+ gdb_test_no_output "set language c"
}
get_debug_format