From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17103 invoked by alias); 12 Jun 2003 16:57:57 -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 17060 invoked from network); 12 Jun 2003 16:57:55 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 12 Jun 2003 16:57:55 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 78AA02B63; Thu, 12 Jun 2003 12:57:44 -0400 (EDT) Message-ID: <3EE8B108.7020306@redhat.com> Date: Thu, 12 Jun 2003 16:57:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: gdb-patches@sources.redhat.com, ezannoni@redhat.com, jimb@redhat.com Subject: Re: [commit] remove DEPRECATED_SYMBOL_NAME uses from symtab.c References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-06/txt/msg00420.txt.bz2 Does this: > #define COMPLETION_LIST_ADD_SYMBOL(symbol, sym_text, len, text, word) \ > - do { \ > - if (SYMBOL_DEMANGLED_NAME (symbol) != NULL) \ > - /* Put only the mangled name on the list. */ \ > - /* Advantage: "b foo" completes to "b foo(int, int)" */ \ > - /* Disadvantage: "b foo__i" doesn't complete. */ \ > completion_list_add_name \ > - (SYMBOL_DEMANGLED_NAME (symbol), (sym_text), (len), (text), (word)); \ > - else \ > - completion_list_add_name \ > - (DEPRECATED_SYMBOL_NAME (symbol), (sym_text), (len), (text), (word)); \ > - } while (0) > + (SYMBOL_NATURAL_NAME (symbol), (sym_text), (len), (text), (word)) mean that COMPLETION_LIST_ADD_SYMBOL is also dead? (I have trouble reading unified diffs :-) Andrew