From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10364 invoked by alias); 15 Nov 2012 16:25:20 -0000 Received: (qmail 10300 invoked by uid 22791); 15 Nov 2012 16:25:17 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_20,KHOP_THREADED,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Nov 2012 16:25:12 +0000 Received: from md16.u-strasbg.fr (md16.u-strasbg.fr [130.79.200.206]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qAFGP8mi092044 ; Thu, 15 Nov 2012 17:25:08 +0100 (CET) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms15.u-strasbg.fr [130.79.204.115]) by md16.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qAFGP77U019991 ; Thu, 15 Nov 2012 17:25:07 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from E6510Muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id qAFGP7RP017434 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) ; Thu, 15 Nov 2012 17:25:07 +0100 (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Joel Brobecker'" Cc: References: <009b01cdc30f$c7684e80$5638eb80$@muller@ics-cnrs.unistra.fr> <20121115151350.GB3806@adacore.com> In-Reply-To: <20121115151350.GB3806@adacore.com> Subject: RE: [RFC] ARI related: Use of GCC poison pragma Date: Thu, 15 Nov 2012 16:25:00 -0000 Message-ID: <000901cdc34d$c7301e50$55905af0$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00034.txt.bz2 > -----Message d'origine----- > De=A0: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] De la p= art > de Joel Brobecker > Envoy=E9=A0: jeudi 15 novembre 2012 16:14 > =C0=A0: Pierre Muller > Cc=A0: gdb@sourceware.org > Objet=A0: Re: [RFC] ARI related: Use of GCC poison pragma >=20 > > To avoid resurgence of expunged ARI problems, > > Pedro suggested the use of GCC poison pragma. Yes, Pedro talked about simply removing the=20 function completely.=20 > I believe it was Tom, actually. and Tom suggested use of poison pragma. > > What would be the corresponding gdb file? I suppose it would be > > defs.h >=20 > I agree that defs.h should be a good place for it. >=20 > > So would a patch adding > > #if (GCC_VERSION >=3D 3000) > > #pragma GCC poison xvasprintf > > #endif >=20 > I don't think we really need the GCC_VERSION check, do we? I still think that this should only be=20 parsed by GCC. So a conditional to restrict to GCC compiler is needed, but I suppose you meant that the use of a GCC prior to 3000 is not needed... Pierre