From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21455 invoked by alias); 13 Jun 2003 04:28:19 -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 21382 invoked from network); 13 Jun 2003 04:28:17 -0000 Received: from unknown (HELO smtp5.Stanford.EDU) (171.67.16.30) by sources.redhat.com with SMTP; 13 Jun 2003 04:28:17 -0000 Received: (from root@localhost) by smtp5.Stanford.EDU (8.12.9/8.12.9) id h5D4SH6Y024989 for gdb-patches@sources.redhat.com; Thu, 12 Jun 2003 21:28:17 -0700 (PDT) Received: from jackfruit.Stanford.EDU (jackfruit.Stanford.EDU [171.64.38.136]) by smtp5.Stanford.EDU (8.12.9/8.12.9) with ESMTP id h5D4SE8B024981; Thu, 12 Jun 2003 21:28:14 -0700 (PDT) Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h5D4SDW14787; Thu, 12 Jun 2003 21:28:13 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [rfa] always use demangled name to set scope References: <20030612231727.GA19870@nevyn.them.org> <20030613042214.GA24015@nevyn.them.org> From: David Carlton Date: Fri, 13 Jun 2003 04:28:00 -0000 In-Reply-To: <20030613042214.GA24015@nevyn.them.org> 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-06/txt/msg00452.txt.bz2 On Fri, 13 Jun 2003 00:22:14 -0400, Daniel Jacobowitz said: > On Thu, Jun 12, 2003 at 06:01:28PM -0700, David Carlton wrote: >> On Thu, 12 Jun 2003 19:17:27 -0400, Daniel Jacobowitz said: >> > By 6.1 I want to rip out all uses of the demangled name along the >> > DWARF-2 code path though. If I can find the time... >> >> We'll see. I do think that the nested type deduction machinery is >> both useful and impossible to do without demangled names. And there > I completely disagree. We have all the machinery in DWARF-2 to do it > without demangled names by using the available hierarchy; it was > designed to suffice for this. Yeah, but we need DW_TAG_namespace to do it, and a version of GCC providing that probably won't be released until next calendar year. I certainly don't use demangled names to do nested type deduction if we have DW_TAG_namespace, but I do think it will be important for the next two or three years. >> are fun bits like how gnuv3_rtti_type looks at the demangled name of >> the vtable. If it were possible to get rid of that, I would be a >> happy person indeed, since its existence is probably going to force me >> to change the demangler's output somewhat. (On the other hand, that >> call is also a useful canary in the coal mine, too, because of the >> RTTI warning that comes out of it.) > I am fairly sure we can kill that for DWARF-2 at least. Sounds good to me. David Carlton carlton@math.stanford.edu