OSDN Git Service

2002-01-10 Michael Snyder <msnyder@redhat.com>
authormsnyder <msnyder>
Thu, 10 Jan 2002 18:27:08 +0000 (18:27 +0000)
committermsnyder <msnyder>
Thu, 10 Jan 2002 18:27:08 +0000 (18:27 +0000)
        * gdb.c++/namespace.exp: Accept both '\0' and '\000'.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.c++/namespace.exp

index f230de9..3ac5b4c 100644 (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'.
index a437cd4..b06133e 100644 (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'" }
 }