* 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:
parent
3d56ab850c
commit
73d28ce1c1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue