This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa/c++] cp_lookup_rtti_type, take 2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]