From: Jimmy Guo Date: Wed, 2 Aug 2000 22:10:10 +0000 (+0000) Subject: * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73d28ce1c12848bedf16cf8bd29437809cbd85ee;p=binutils-gdb.git * 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. --- diff --git a/gdb/testsuite/gdb.c++/classes.exp b/gdb/testsuite/gdb.c++/classes.exp index 9faa2fdd8c2..9c53976acce 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 }