From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31705 invoked by alias); 2 Jun 2003 19:10:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31698 invoked from network); 2 Jun 2003 19:10:31 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Jun 2003 19:10:31 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h52JAVH18866 for ; Mon, 2 Jun 2003 15:10:31 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52JALI29284 for ; Mon, 2 Jun 2003 15:10:21 -0400 Received: from localhost.redhat.com (IDENT:tQ4Tb1Uu044ofNoWI7WFDuvXPwJzPLS3@tooth.toronto.redhat.com [172.16.14.29]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52JAKb07936; Mon, 2 Jun 2003 15:10:20 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id 38C032C43C; Mon, 2 Jun 2003 15:16:15 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16091.41599.3329.152064@localhost.redhat.com> Date: Mon, 02 Jun 2003 19:10:00 -0000 To: David Carlton Cc: gdb , Daniel Jacobowitz , Elena Zannoni Subject: Re: [rfc] cp-symtab.c? In-Reply-To: References: X-SW-Source: 2003-06/txt/msg00013.txt.bz2 David Carlton writes: > Elena and I were recently talking about moving > make_symbol_overload_list and friends from symtab.c to some C++ file. > It's not obvious to me where to put it, though; should I create a new > file "cp-symtab.c" for that? If so, should I move the parts of > cp-namespace.c that deal specifically with symbol lookup (all the > functions in there with "lookup" in their name, I guess) to that file > as well? My opinion is that the answer to both questions is "yes", > but I wanted to check with other people first. > > David Carlton > carlton@math.stanford.edu I would hold back on the new file, *for now*. I think cp-support.c would work. Doing a grep for ^lookup_ in *.c throws up too many things that are not clearly symbol table related, but for instance gdbtypes and charset related. My guess is that the term 'lookup' has been abused, and we should introduce something more qualifying in the function names. elena