From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19898 invoked by alias); 18 Jun 2004 19:56:59 -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 19891 invoked from network); 18 Jun 2004 19:56:58 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 18 Jun 2004 19:56:58 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5IJuwe3024594 for ; Fri, 18 Jun 2004 15:56:58 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5IJuu006300; Fri, 18 Jun 2004 15:56:56 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 62BBD2B9D; Fri, 18 Jun 2004 15:56:42 -0400 (EDT) Message-ID: <40D348FA.2070009@gnu.org> Date: Fri, 18 Jun 2004 19:56:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: Daniel Jacobowitz Cc: Michael Elizabeth Chastain , jimb@redhat.com, gdb-patches@sources.redhat.com, Keith Seitz Subject: Re: RFA: patch to fix gdb/1680 References: <20040618191836.629204B104@berman.michael-chastain.com> <20040618194250.GA28102@nevyn.them.org> In-Reply-To: <20040618194250.GA28102@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00443.txt.bz2 >>Try "{}" instead of {""}. In these sorts of situtations that works a >>> lot better. > > > which is the missing bit of my suggestion. { and \{ are the same thing > when written in double quotes. So (since we can't use {} here, because > there is a variable substitution inside gdb_test's argument), use two > backslashes. That way one will reach the regex engine. (two many quote characters). Use ``{ ... }'' instead of ``" ... "'' when wrapping things up, it avoids the entire quoting et.al. problem. Andrew