From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13373 invoked by alias); 31 Mar 2003 23:03: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 13366 invoked from network); 31 Mar 2003 23:03:02 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 31 Mar 2003 23:03:02 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h2VN2lX24260; Mon, 31 Mar 2003 15:02:47 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Adam Fedor Cc: GDB Patches , Daniel Jacobowitz , Andrew Cagney Subject: Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5] References: <3E16093D.3070907@doc.com> <3E7A3226.9040904@redhat.com> <20030320213945.GA17345@nevyn.them.org> <3E7A3D14.1020100@redhat.com> <20030320221924.GA25955@nevyn.them.org> <3E87A68C.6090301@doc.com> From: David Carlton Date: Mon, 31 Mar 2003 23:03:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-03/txt/msg00620.txt.bz2 On 31 Mar 2003 14:53:21 -0800, David Carlton said: > On Sun, 30 Mar 2003 19:23:08 -0700, Adam Fedor said: >> Here's my crack at doing [language-specific demangling]. > This patch bothers me: it doesn't handle Java cleanly, and I'm not > sure about the 'options' argument to language_demangle. Also, I'm not convinced that it's best for the unknown language demangler to always return NULL. Probably Adam's patch isn't too bad in that regard: it will change the behavior of 'maint demangle', but we can work around that if it's important, and it won't change the behavior of fprintf_symbol_filtered; those are the only places where Adam's patch actually calls language_demangler. But, given that we don't always reliably know the current language (and could conceivably figure that out via demangling, modulo Java/C++ confusion), I'm not convinced that returning NULL is the right thing. (Or that it isn't the right thing.) David Carlton carlton@math.stanford.edu