aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-07-20 01:03:24 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-07-20 01:03:24 +0000
commit412c988b1d6c9c21be1198861862b49efcbf030c (patch)
treef075e4847c638d4495dca84f20697f3aaab735fc /gdb
parentb34c14fb190bb97d650cecfb9ff3ad0de598a075 (diff)
downloadgdb-412c988b1d6c9c21be1198861862b49efcbf030c.zip
gdb-412c988b1d6c9c21be1198861862b49efcbf030c.tar.gz
gdb-412c988b1d6c9c21be1198861862b49efcbf030c.tar.bz2
Temporarily back out last change
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/lib/gdb.exp9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 664aff2..2a967a2 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -159,9 +159,14 @@ proc runto { function } {
timeout { fail "setting breakpoint at $function (timeout)" ; return 0 }
}
+ send "run\n"
# the "at foo.c:36" output we get with -g.
# the "in func" output we get without -g.
- expect_after {
+ expect {
+ -re "The program .* has been started already.*y or n. $" {
+ send "y\n"
+ exp_continue
+ }
-re "Starting.*Break.* at .*:$decimal.*$prompt $" { return 1 }
-re "Breakpoint \[0-9\]*, \[0-9xa-f\]* in $function.*$prompt $" {
return 1
@@ -169,8 +174,6 @@ proc runto { function } {
-re "$prompt $" { fail "running to $function" ; return 0 }
timeout { fail "running to $function (timeout)" ; return 0 }
}
- gdb_run_cmd
- expect_after;
}
#