From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16933 invoked by alias); 18 Mar 2003 18:07:03 -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 16830 invoked from network); 18 Mar 2003 18:07:02 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 18 Mar 2003 18:07:02 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id C7F46D34B8; Tue, 18 Mar 2003 10:07:04 -0800 (PST) Date: Tue, 18 Mar 2003 18:07:00 -0000 From: Joel Brobecker To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add some code in observer.c to allow unit-testing Message-ID: <20030318180704.GS16507@gnat.com> References: <20030318020905.GL16507@gnat.com> <3E773D7F.2010003@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E773D7F.2010003@redhat.com> User-Agent: Mutt/1.4i X-SW-Source: 2003-03/txt/msg00403.txt.bz2 > Long term, it's going to run into -Wunused-function. Suggest adding a > disclaimer pointing out this limitation :-) Sure, I added the following comment: /* Since this code will not be used within GDB, it will trigger a warning if we decide to compile with -Wunused-function. This is ok for now. (brobecker 2003-03-18) */ > Otherwize (for want of any beter idea :-), ok. Checked in, with the above addition. Thanks, -- Joel