From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32656 invoked by alias); 20 May 2009 05:19:15 -0000 Received: (qmail 32647 invoked by uid 22791); 20 May 2009 05:19:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 May 2009 05:19:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 9350A2BAC94; Wed, 20 May 2009 01:19:03 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yZ5HLemQKKPn; Wed, 20 May 2009 01:19:03 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 0129F2BAC54; Wed, 20 May 2009 01:19:02 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id F4112F5962; Wed, 20 May 2009 07:18:51 +0200 (CEST) Date: Wed, 20 May 2009 05:19:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: muller@ics.u-strasbg.fr, gdb-patches@sourceware.org Subject: Re: [ARI] Add "bzero" Message-ID: <20090520051851.GA16152@adacore.com> References: <200904301028.29435.pedro@codesourcery.com> <200905061038.11004.pedro@codesourcery.com> <20090506160250.GJ10734@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) 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: 2009-05/txt/msg00413.txt.bz2 > Joel> Would you mind adding bzero to the list of functions in the ARI that > Joel> should not be used? I think this would be useful to have. The following > Joel> patch should work, but I'm not sure how you test it, and i'm also not > Joel> sure about the right category... > > For this specific case, and some others like it, perhaps using #pragma > poison would be better. That would result in a compile time error, > rather than a report on a web page. Sounds like a nice suggestion, indeed. Nice to have you back, Tom :). I'll leave that in my list of things to do. Should be pretty quick to do. -- Joel