From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16175 invoked by alias); 5 Dec 2003 17:16:59 -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 16167 invoked from network); 5 Dec 2003 17:16:58 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 5 Dec 2003 17:16:58 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1ASJZa-0007Fl-Dd for ; Fri, 05 Dec 2003 12:16:58 -0500 Date: Fri, 05 Dec 2003 17:16:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: [rfa/c++] cp_lookup_rtti_type, take 2 Message-ID: <20031205171658.GB27834@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20031205042237.56AFD4B35C@berman.michael-chastain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00214.txt.bz2 On Fri, Dec 05, 2003 at 09:12:37AM -0800, David Carlton wrote: > > We've got a vtbl pointer, and we want type information for it. > > So we translate: > > > vtbl address -> minsym > > minsym -> mangled name > > mangled name -> demangled name > > demangled name -> prefix > > prefix -> symbol > > symbol -> type > > > Maybe we should just go from the vtbl address to the symbol without > > converting to a name and back again?! > > It would be nice if we could eventually short-circuit much or all of > this. As Daniel likes to point out, we should try to reduce our > demangler dependencies wherever possible, and this is a particularly > unpleasant one. How do you suggest we do it? Some new addition to the debug info? I don't believe we have anything at the moment that fills this need. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer