* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
+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'.
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'" }
}