aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2001-03-16 20:00:04 +0000
committerMichael Chastain <mec@google.com>2001-03-16 20:00:04 +0000
commitcac3c2ff1143b3803aafc26cc815ddd98f85faee (patch)
treea201133f7e7f638c062b22aa54c56ad463157e1a /gdb
parent03d411a9272230498572362bb1cd634a1b488145 (diff)
downloadgdb-cac3c2ff1143b3803aafc26cc815ddd98f85faee.zip
gdb-cac3c2ff1143b3803aafc26cc815ddd98f85faee.tar.gz
gdb-cac3c2ff1143b3803aafc26cc815ddd98f85faee.tar.bz2
2001-03-12 Michael Chastain <chastain@redhat.com>
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.c++/annota2.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b1f3dfb..f4086d8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-12 Michael Chastain <chastain@redhat.com>
+
+ * gdb.c++/annota2.exp: Fix regular expression for "post-query".
+
2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library
diff --git a/gdb/testsuite/gdb.c++/annota2.exp b/gdb/testsuite/gdb.c++/annota2.exp
index ce13ead..86fdc9d 100644
--- a/gdb/testsuite/gdb.c++/annota2.exp
+++ b/gdb/testsuite/gdb.c++/annota2.exp
@@ -1,4 +1,4 @@
-# Copyright 1999, 2000
+# Copyright 1999, 2000, 2001
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -139,7 +139,7 @@ gdb_expect {
-re ".*Delete all breakpoints. \\(y or n\\) \r\n\032\032query.*$" {
send_gdb "y\n"
gdb_expect {
- -re " .*$gdb_prompt$" { pass "delete bps" }
+ -re "\r\n\032\032post-query\r\n$gdb_prompt$" { pass "delete bps" }
-re ".*$gdb_prompt$" { fail "delete bps" }
timeout { fail "delete bps (timeout)" }
}