This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH to testsuite/gdb.c++/namespace.exp
- From: Jason Merrill <jason at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 13:19:43 +0000
- Subject: PATCH to testsuite/gdb.c++/namespace.exp
Applied as obvious; gdb doesn't print the full three octal digits for a
null character.
2002-01-10 Jason Merrill <jason@redhat.com>
* gdb.c++/namespace.exp: '\0', not '\000'.
*** namespace.exp.~1~ Tue Jan 8 11:46:08 2002
--- namespace.exp Thu Jan 10 12:55:59 2002
*************** gdb_test "up" ".*main.*" "up from marker
*** 80,86 ****
send_gdb "print 'AAA::c'\n"
gdb_expect {
! -re "\\$\[0-9\]* = 0 '\\\\000'\r\n$gdb_prompt $" { pass "print 'AAA::c'" }
-re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
timeout { fail "(timeout) print 'AAA::c'" }
}
--- 80,86 ----
send_gdb "print 'AAA::c'\n"
gdb_expect {
! -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'" }
}