PR gdb/544

* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
This commit is contained in:
Daniel Jacobowitz 2008-03-24 13:27:07 +00:00
parent 87adec2ec1
commit 31e5d73a44
3 changed files with 5 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/544
* gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
PR gdb/544

View File

@ -205,13 +205,10 @@ gdb_expect {
# test:
# annotate-quit
#
# This test sometimes fails, but not reproducibly. See gdb/544.
#
send_gdb "\003"
gdb_expect {
-re "\r\n\032\032error-begin\r\nQuit\r\n\r\n\032\032quit\r\n$gdb_prompt$" \
{ pass "annotate-quit" }
-re "$gdb_prompt$" { kfail "gdb/544" "annotate-quit" }
-re ".*$gdb_prompt$" { fail "annotate-quit" }
timeout { fail "annotate-quit (timeout)" }
}

View File

@ -208,8 +208,6 @@ gdb_expect {
# test:
# annotate-quit
#
# This test sometimes fails, but not reproducibly. See gdb/544.
#
send_gdb "\003"
gdb_expect_list "annotate-quit" "$gdb_prompt$" {
"\r\n\032\032error-begin\r\n"