From a773d1cdf8f46bc850e884293bff3a21c447db7d Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 21 Nov 2001 00:13:30 +0000 Subject: [PATCH] 2001-11-20 Michael Snyder * gdb.c++/namespace.exp: Fix quotes in output messages. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.c++/namespace.exp | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 35a3d379b14..5671f47d472 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-11-20 Michael Snyder + + * gdb.c++/namespace.exp: Fix quotes in output messages. + 2001-11-14 Michael Snyder * gdb.base/code-exprs.exp: New file. Tests use of the "@code" diff --git a/gdb/testsuite/gdb.c++/namespace.exp b/gdb/testsuite/gdb.c++/namespace.exp index 93f126f5109..1ace27f4654 100644 --- a/gdb/testsuite/gdb.c++/namespace.exp +++ b/gdb/testsuite/gdb.c++/namespace.exp @@ -166,10 +166,10 @@ gdb_expect { send_gdb "print 'BBB::Class::xyzq'\n" gdb_expect { -re "\\$\[0-9\]* = \{char \\((BBB::|)Class \\*, (char|int)\\)\} $hex \r\n$gdb_prompt $" { - pass "print 'BBB::Class'::xyzq" + pass "print 'BBB::Class::xyzq'" } - -re ".*$gdb_prompt $" { fail "print 'BBB::Class'::xyzq" } - timeout { fail "(timeout) print 'BBB::Class'::xyzq" } + -re ".*$gdb_prompt $" { fail "print 'BBB::Class::xyzq'" } + timeout { fail "(timeout) print 'BBB::Class::xyzq'" } } # Break on a function in a class in a namespace -- 2.30.2