aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2002-01-10 13:21:58 +0000
committerJason Merrill <jason@redhat.com>2002-01-10 13:21:58 +0000
commitffcb195b519f84968d1e9faa734daa2c5bba3116 (patch)
treec64c6ae4fa46f101f2ca77e7146b61b2e09e3da6 /gdb
parent6c43fab6fb9449bef1cf01430c80150bc486481d (diff)
downloadfsf-binutils-gdb-ffcb195b519f84968d1e9faa734daa2c5bba3116.zip
fsf-binutils-gdb-ffcb195b519f84968d1e9faa734daa2c5bba3116.tar.gz
fsf-binutils-gdb-ffcb195b519f84968d1e9faa734daa2c5bba3116.tar.bz2
* gdb.c++/namespace.exp: '\0', not '\000'.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.c++/namespace.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index bd859e3..f230de9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.c++/namespace.exp b/gdb/testsuite/gdb.c++/namespace.exp
index fb44378..4aa8d9e 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 '\\\\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'" }
}