From bc69c900ba0f75b34d150c1a8fb0c8da9f95951c Mon Sep 17 00:00:00 2001 From: Jimmy Guo Date: Wed, 2 Aug 2000 22:10:10 +0000 Subject: [PATCH] * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to 'finish', otherwise uncaptured gdb_prompt would potentially throw remaining test points out of sync. --- gdb/testsuite/gdb.c++/classes.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.c++/classes.exp b/gdb/testsuite/gdb.c++/classes.exp index 9faa2fdd8c..9c53976acc 100644 --- a/gdb/testsuite/gdb.c++/classes.exp +++ b/gdb/testsuite/gdb.c++/classes.exp @@ -835,7 +835,7 @@ proc do_tests {} { gdb_breakpoint enums2 if [ gdb_continue enums2 ]==0 then { - send_gdb "finish\n" + gdb_test "finish" "" "" test_enums } -- 2.11.0