From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6708 invoked by alias); 10 Jan 2002 13:20:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6659 invoked from network); 10 Jan 2002 13:19:57 -0000 Received: from unknown (HELO prospero.cambridge.redhat.com) (62.30.164.150) by sources.redhat.com with SMTP; 10 Jan 2002 13:19:57 -0000 Received: (from jason@localhost) by prospero.cambridge.redhat.com (8.11.6/8.11.6) id g0ADJiK09385; Thu, 10 Jan 2002 13:19:44 GMT X-Authentication-Warning: localhost.localdomain: jason set sender to jason@redhat.com using -f To: gdb-patches@sources.redhat.com Subject: PATCH to testsuite/gdb.c++/namespace.exp From: Jason Merrill Date: Thu, 10 Jan 2002 05:20:00 -0000 Message-ID: User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-SW-Source: 2002-01/txt/msg00222.txt.bz2 --=-=-= Content-length: 181 Applied as obvious; gdb doesn't print the full three octal digits for a null character. 2002-01-10 Jason Merrill * gdb.c++/namespace.exp: '\0', not '\000'. --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-length: 643 *** namespace.exp.~1~ Tue Jan 8 11:46:08 2002 --- namespace.exp Thu Jan 10 12:55:59 2002 *************** gdb_test "up" ".*main.*" "up from marker *** 80,86 **** send_gdb "print 'AAA::c'\n" gdb_expect { ! -re "\\$\[0-9\]* = 0 '\\\\000'\r\n$gdb_prompt $" { pass "print 'AAA::c'" } -re ".*$gdb_prompt $" { fail "print 'AAA::c'" } timeout { fail "(timeout) print 'AAA::c'" } } --- 80,86 ---- send_gdb "print 'AAA::c'\n" gdb_expect { ! -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'" } } --=-=-=--