2002-01-10 Michael Snyder <msnyder@redhat.com>

* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
This commit is contained in:
Michael Snyder 2002-01-10 18:27:09 +00:00
parent ce520b11b3
commit 7b2ac63ba0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10 Jason Merrill <jason@redhat.com>
* gdb.c++/namespace.exp: '\0', not '\000'.

View File

@ -80,7 +80,7 @@ gdb_test "up" ".*main.*" "up from marker1"
send_gdb "print 'AAA::c'\n"
gdb_expect {
-re "\\$\[0-9\]* = 0 '\\\\0'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
-re "\\$\[0-9\]* = 0 '\\\\(0|000)'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
-re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
timeout { fail "(timeout) print 'AAA::c'" }
}