From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10268 invoked by alias); 19 Apr 2011 10:19:17 -0000 Received: (qmail 10259 invoked by uid 22791); 19 Apr 2011 10:19:17 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Apr 2011 10:19:02 +0000 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 29ED91800B86; Tue, 19 Apr 2011 12:19:00 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 0AC541C0009B; Tue, 19 Apr 2011 12:19:01 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id 8Lj+7leL5DQ5; Tue, 19 Apr 2011 12:19:01 +0200 (CEST) Received: from igel.home (ppp-88-217-114-91.dynamic.mnet-online.de [88.217.114.91]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 19 Apr 2011 12:19:00 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 13A6DCA2A0; Tue, 19 Apr 2011 12:18:59 +0200 (CEST) From: Andreas Schwab To: Marek Polacek Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [PATCH] gdb.base/setshow.exp: fix racy tests (PR testsuite/12649) References: <4DAC6924.2000100@redhat.com> <4DAD333D.6010103@redhat.com> X-Yow: It don't mean a THING if you ain't got that SWING!! Date: Tue, 19 Apr 2011 10:19:00 -0000 In-Reply-To: <4DAD333D.6010103@redhat.com> (Marek Polacek's message of "Tue, 19 Apr 2011 09:01:17 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00301.txt.bz2 Marek Polacek writes: > On 04/18/2011 10:45 PM, Tom Tromey wrote: >> Marek> - gdb_test_multiple "set prompt (gdb) " "set prompt gdb" { >> Marek> + gdb_test_multiple "set prompt \\(gdb\\) " "set prompt gdb" { >> >> I think this should not be needed. > > It is needed. The backslashes are removed when the prompt is expanded by readline, so the output should be identical. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."