From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3731 invoked by alias); 15 Apr 2004 14:45:07 -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 3721 invoked from network); 15 Apr 2004 14:45:06 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 15 Apr 2004 14:45:06 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 950462B9C; Thu, 15 Apr 2004 10:45:02 -0400 (EDT) Message-ID: <407E9FEE.1040906@gnu.org> Date: Thu, 15 Apr 2004 14:45: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: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Generate observer.[hc] References: <4075BF8E.9080706@gnu.org> <1659-Thu15Apr2004142420+0300-eliz@gnu.org> In-Reply-To: <1659-Thu15Apr2004142420+0300-eliz@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00308.txt.bz2 >>> Date: Thu, 08 Apr 2004 17:09:34 -0400 >>> From: Andrew Cagney >>> >>> The attached adds the script observer.sh that can be used to generate: >>> observer.h >>> observer.ch (#included by observer.c) >>> at build time using doc/observer.texi as the input. > > > Sorry for the long delay. > > The patch for observer.texi is approved, but let me play the Devil's > advocate and ask what significant wins we gain from generating the > source files from the Texinfo file, that justify maintaining the > scripts which are required to support this machinery? We first establish a one-stop shop for adding observers, and second eliminate the drudgery of churning out the C code needed to implement each observer. (At a guess, we're going to end up with something between 10 and 20 observers). Andrew