From ffcb195b519f84968d1e9faa734daa2c5bba3116 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Thu, 10 Jan 2002 13:21:58 +0000 Subject: [PATCH] * gdb.c++/namespace.exp: '\0', not '\000'. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.c++/namespace.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index bd859e3b5fa..f230de9fb3b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2002-01-10 Jason Merrill + + * gdb.c++/namespace.exp: '\0', not '\000'. + 2002-01-08 Michael Snyder * 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 fb44378df4e..4aa8d9ecf80 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'" } }