2001-03-12 Michael Chastain <chastain@redhat.com>

* gdb.c++/annota2.exp: Fix regular expression for "post-query".
This commit is contained in:
Michael Chastain 2001-03-16 20:00:04 +00:00
parent 03d411a927
commit cac3c2ff11
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2001-02-24 Michael Chastain <chastain@redhat.com>
* gdb.c++/ref-types.exp: Change handwritten code to library * gdb.c++/ref-types.exp: Change handwritten code to library

View File

@ -1,4 +1,4 @@
# Copyright 1999, 2000 # Copyright 1999, 2000, 2001
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # 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.*$" { -re ".*Delete all breakpoints. \\(y or n\\) \r\n\032\032query.*$" {
send_gdb "y\n" send_gdb "y\n"
gdb_expect { 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" } -re ".*$gdb_prompt$" { fail "delete bps" }
timeout { fail "delete bps (timeout)" } timeout { fail "delete bps (timeout)" }
} }