2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
This commit is contained in:
parent
ce520b11b3
commit
7b2ac63ba0
@ -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>
|
2002-01-10 Jason Merrill <jason@redhat.com>
|
||||||
|
|
||||||
* gdb.c++/namespace.exp: '\0', not '\000'.
|
* gdb.c++/namespace.exp: '\0', not '\000'.
|
||||||
|
@ -80,7 +80,7 @@ gdb_test "up" ".*main.*" "up from marker1"
|
|||||||
|
|
||||||
send_gdb "print 'AAA::c'\n"
|
send_gdb "print 'AAA::c'\n"
|
||||||
gdb_expect {
|
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'" }
|
-re ".*$gdb_prompt $" { fail "print 'AAA::c'" }
|
||||||
timeout { fail "(timeout) print 'AAA::c'" }
|
timeout { fail "(timeout) print 'AAA::c'" }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user