diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-01-10 18:27:09 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-01-10 18:27:09 +0000 |
commit | 7b2ac63ba09422a0e418360d3f5bdc94949cc900 (patch) | |
tree | 48be7adbb0b89634a1d478e99103028496f4b94a /gdb/testsuite/gdb.c++ | |
parent | ce520b11b34ed89f3ec27ab7444a1ec269db4a5a (diff) | |
download | binutils-7b2ac63ba09422a0e418360d3f5bdc94949cc900.zip binutils-7b2ac63ba09422a0e418360d3f5bdc94949cc900.tar.gz binutils-7b2ac63ba09422a0e418360d3f5bdc94949cc900.tar.bz2 |
2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
Diffstat (limited to 'gdb/testsuite/gdb.c++')
-rw-r--r-- | gdb/testsuite/gdb.c++/namespace.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.c++/namespace.exp b/gdb/testsuite/gdb.c++/namespace.exp index a437cd4..b06133e 100644 --- a/gdb/testsuite/gdb.c++/namespace.exp +++ b/gdb/testsuite/gdb.c++/namespace.exp @@ -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'" } } |