aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-03-29 20:31:26 +0000
committerKung Hsu <kung@cygnus>1995-03-29 20:31:26 +0000
commit3c23a941c398a759c3de429c3f68cf605f8c1428 (patch)
tree4feb4a785ecfd403896ee0d867a7151bfad376d6 /gdb/testsuite
parent21e061e3f880a09c4faa26457161f8890140c0ef (diff)
downloadgdb-3c23a941c398a759c3de429c3f68cf605f8c1428.zip
gdb-3c23a941c398a759c3de429c3f68cf605f8c1428.tar.gz
gdb-3c23a941c398a759c3de429c3f68cf605f8c1428.tar.bz2
* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/lib/gdb.exp3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index aacb831..4f497bf 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
+
+ * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
+
Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index cec1f27..9431912 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -233,9 +233,10 @@ proc runto_main {} {
send "step\n"
# if use stubs step out of the breakpoint() function.
expect {
- -re "* at .*$prompt $" {}
+ -re "main.* at .*$prompt $" {}
timeout { fail "single step at breakpoint() (timeout)" ; return 0 }
}
+ return 1
}
#