aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Guo <guo@cup.hp.com>2000-08-02 22:10:10 +0000
committerJimmy Guo <guo@cup.hp.com>2000-08-02 22:10:10 +0000
commit73d28ce1c12848bedf16cf8bd29437809cbd85ee (patch)
tree146e3297a0455d333cca85c4b807722280b87a2e
parent3d56ab850cf81361423699ed8d78c40199d22862 (diff)
downloadgdb-73d28ce1c12848bedf16cf8bd29437809cbd85ee.zip
gdb-73d28ce1c12848bedf16cf8bd29437809cbd85ee.tar.gz
gdb-73d28ce1c12848bedf16cf8bd29437809cbd85ee.tar.bz2
* 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.
-rw-r--r--gdb/testsuite/gdb.c++/classes.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.c++/classes.exp b/gdb/testsuite/gdb.c++/classes.exp
index 9faa2fd..9c53976 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
}