* 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.
This commit is contained in:
Jimmy Guo 2000-08-02 22:10:10 +00:00
parent 3d56ab850c
commit 73d28ce1c1
1 changed files with 1 additions and 1 deletions

View File

@ -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
}