aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/langs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/langs.exp')
-rw-r--r--gdb/testsuite/gdb.base/langs.exp8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.base/langs.exp b/gdb/testsuite/gdb.base/langs.exp
index a42f2d8..e4f3450 100644
--- a/gdb/testsuite/gdb.base/langs.exp
+++ b/gdb/testsuite/gdb.base/langs.exp
@@ -142,13 +142,7 @@ if [runto csub] then {
if [target_info exists gdb,noresults] { return }
- if [target_info exists use_gdb_stub] {
- gdb_breakpoint "exit"
- gdb_test "cont" "Breakpoint .*exit.*" "continue to exit in langs.exp"
- } else {
- gdb_test "cont" "Program exited normally\\..*" \
- "continue to exit in langs.exp"
- }
+ gdb_continue_to_end "langs.exp"
}
gdb_exit