From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25590 invoked by alias); 18 Mar 2002 23:49:59 -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 25509 invoked from network); 18 Mar 2002 23:49:57 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sources.redhat.com with SMTP; 18 Mar 2002 23:49:57 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 5B65F5E9DE; Mon, 18 Mar 2002 18:48:57 -0500 (EST) To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: Batons? Was: RFC: C/C++ preprocessor macro support for GDB References: <20020317062306.CC96D5E9DE@zwingli.cygnus.com> <3C96094E.8090407@cygnus.com> <3C965435.9040302@cygnus.com> From: Jim Blandy Date: Mon, 18 Mar 2002 15:49:00 -0000 In-Reply-To: <3C965435.9040302@cygnus.com> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-03/txt/msg00329.txt.bz2 Andrew Cagney writes: > > I'm open to suggestions. If folks think it's too cutesy, I'll change > > it to whatever they want. > > For the same situtation, bfd's map_over_sections uses ``obj''. GDB is > similar, catch_exceptions has ``func, func_args'', ui_file_put has > ``write, dest''. Objects are described has having ``state'' or > ``context''. Right, these are all pretty generic terms. We chose "baton" to denote this specific pattern of a function pointer accompanied by an untyped data pointer. The term is more valuable if you can see it and conclude that this specific pattern is what's going on.