projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d56ab8
)
* gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
author
Jimmy Guo
<guo@cup.hp.com>
Wed, 2 Aug 2000 22:10:10 +0000
(22:10 +0000)
committer
Jimmy Guo
<guo@cup.hp.com>
Wed, 2 Aug 2000 22:10:10 +0000
(22:10 +0000)
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.
gdb/testsuite/gdb.c++/classes.exp
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.c++/classes.exp
b/gdb/testsuite/gdb.c++/classes.exp
index 9faa2fdd8c22815549ede7cd31ce81cab1aa6fa0..9c53976accebc2cb6ad16239361d5a0abd9136df 100644
(file)
--- 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
}