From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26939 invoked by alias); 5 Aug 2011 20:19:19 -0000 Received: (qmail 26904 invoked by uid 22791); 5 Aug 2011 20:19:16 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ey0-f169.google.com (HELO mail-ey0-f169.google.com) (209.85.215.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 05 Aug 2011 20:18:51 +0000 Received: by eye22 with SMTP id 22so2296426eye.0 for ; Fri, 05 Aug 2011 13:18:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.186.13 with SMTP id v13mr226372eem.203.1312575530191; Fri, 05 Aug 2011 13:18:50 -0700 (PDT) Received: by 10.14.53.11 with HTTP; Fri, 5 Aug 2011 13:18:50 -0700 (PDT) In-Reply-To: <20110804095121.GA4486@host1.jankratochvil.net> References: <20110802170152.GA24932@host1.jankratochvil.net> <20110804095121.GA4486@host1.jankratochvil.net> Date: Fri, 05 Aug 2011 20:19:00 -0000 Message-ID: Subject: Re: [patch] Make test-cp-name-parser usable From: Daniel Jacobowitz To: Jan Kratochvil Cc: Tom Tromey , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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-08/txt/msg00121.txt.bz2 On Thu, Aug 4, 2011 at 5:51 AM, Jan Kratochvil wrote: > On Wed, 03 Aug 2011 22:56:36 +0200, Tom Tromey wrote: >> >>>>> "Daniel" =3D=3D Daniel Jacobowitz writes: >> Daniel> What does the translation - is it as simple as #undef free or >> Daniel> (free) (ptr)? >> >> A sed script in the .y.c rule in gdb/Makefile. > > =A0 =A0 =A0 =A0 =A0 =A0 -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/= g' \ > =A0 =A0 =A0 =A0 =A0 =A0 -e 's/\([ \t;,(]\)free$$/\1xfree/g' \ Wow, I'd forgotten about that. > If it is a concern patched it differently. Thanks! I appreciate it. You might want an explanatory comment, this looks sufficiently odd. It's OK with me either way. --=20 Thanks, Daniel