From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5884 invoked by alias); 15 Jan 2004 16:18:25 -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 5870 invoked from network); 15 Jan 2004 16:18:24 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 15 Jan 2004 16:18:24 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A7E372B8F; Thu, 15 Jan 2004 11:18:22 -0500 (EST) Message-ID: <4006BD4E.4050007@gnu.org> Date: Thu, 15 Jan 2004 16:18:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: [Fwd: Re: c++/1512: no canonical way to output names of C++ types] Content-Type: multipart/mixed; boundary="------------000704010205020706010805" X-SW-Source: 2004-01/txt/msg00198.txt.bz2 This is a multi-part message in MIME format. --------------000704010205020706010805 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 536 > Fixes for this are in progress on drow-cplus-branch. All the necessary > code is there, it just needs to be hooked up :) I think I've gotten > derailed on some other problems first, though. The basic problem is > that we want to canonicalize the names before adding them to the symbol > table, and that increases startup time. I'm looking for ways to shave > startup time elsewhere. I have a few ideas. If it is going to be so expensive, can it be put off until later, when the canonical value is needed? enjoy, Andrew --------------000704010205020706010805 Content-Type: message/rfc822; name="Re: c++/1512: no canonical way to output names of C++ types" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Re: c++/1512: no canonical way to output names of C++ types" Content-length: 3905 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: cagney@localhost.redhat.com Received: from localhost (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 650682B8F for ; Thu, 15 Jan 2004 10:57:01 -0500 (EST) Envelope-to: cagney@gnu.org Delivery-date: Wed, 14 Jan 2004 18:51:06 -0500 Received: from fencepost.gnu.org by localhost with IMAP (fetchmail-6.2.4) for cagney@localhost (single-drop); Thu, 15 Jan 2004 10:57:01 -0500 (EST) Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1Agumw-0004B9-Hu for cagney@gnu.org; Wed, 14 Jan 2004 18:51:06 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AguYL-0002Yc-Ow for cagney@gnu.org; Wed, 14 Jan 2004 18:36:32 -0500 Received: from [67.72.78.213] (helo=sources.redhat.com) by monty-python.gnu.org with smtp (Exim 4.24) id 1AguHK-0007kf-MI for cagney@gnu.org; Wed, 14 Jan 2004 18:18:27 -0500 Received: (qmail 3755 invoked by alias); 14 Jan 2004 23:18:01 -0000 Mailing-List: contact gdb-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sources.redhat.com Delivered-To: mailing list gdb-prs@sources.redhat.com Received: (qmail 3738 invoked by uid 71); 14 Jan 2004 23:18:00 -0000 Date: 14 Jan 2004 23:18:00 -0000 Message-ID: <20040114231800.3737.qmail@sources.redhat.com> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: c++/1512: no canonical way to output names of C++ types Reply-To: Daniel Jacobowitz X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Content-length: 1748 The following reply was made to PR c++/1512; it has been noted by GNATS. From: Daniel Jacobowitz To: carlton@bactrian.org Cc: gdb-gnats@sources.redhat.com Subject: Re: c++/1512: no canonical way to output names of C++ types Date: Wed, 14 Jan 2004 18:12:13 -0500 On Wed, Jan 14, 2004 at 06:26:13PM -0000, carlton@bactrian.org wrote: > > >Number: 1512 > >Category: c++ > >Synopsis: no canonical way to output names of C++ types > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: unassigned > >State: open > >Class: change-request > >Submitter-Id: net > >Arrival-Date: Wed Jan 14 18:28:00 UTC 2004 > >Closed-Date: > >Last-Modified: > >Originator: carlton@bactrian.org > >Release: 2004-01-14-cvs > >Organization: > >Environment: > any > >Description: > We currently don't have any canonical way to output > names of C++ types. E.g. const char * vs. > char const *; more subtleties arise when dealing with > templates. > > This is, of course, less important than the fact that > we don't know how to recognize different names > of types as equivalent when doing input, but it's > still unfortunate. Fixes for this are in progress on drow-cplus-branch. All the necessary code is there, it just needs to be hooked up :) I think I've gotten derailed on some other problems first, though. The basic problem is that we want to canonicalize the names before adding them to the symbol table, and that increases startup time. I'm looking for ways to shave startup time elsewhere. I have a few ideas. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer --------------000704010205020706010805--