aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/callfuncs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/callfuncs.exp')
-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