[rfa/c++] cp_lookup_rtti_type, take 2
Fri Dec 5 17:16:00 GMT 2003
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.
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb-patches