* gdb.c++/namespace.exp: '\0', not '\000'.

This commit is contained in:
Jason Merrill 2002-01-10 13:21:58 +00:00
parent 6c43fab6fb
commit ffcb195b51
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-01-10 Jason Merrill <jason@redhat.com>
* gdb.c++/namespace.exp: '\0', not '\000'.
2002-01-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: New test for generate-core-file command.

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 '\\\\000'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
-re "\\$\[0-9\]* = 0 '\\\\0'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
-re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
timeout { fail "(timeout) print 'AAA::c'" }
}