Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [rfa/c++] cp_lookup_rtti_type, take 2
Date: Fri, 05 Dec 2003 17:16:00 -0000	[thread overview]
Message-ID: <20031205171658.GB27834@nevyn.them.org> (raw)
In-Reply-To: <yf2r7zjnq7u.fsf@hawaii.kealia.com>

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


  reply	other threads:[~2003-12-05 17:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-05  4:23 Michael Elizabeth Chastain
2003-12-05  5:01 ` Daniel Jacobowitz
2003-12-05 17:12 ` David Carlton
2003-12-05 17:16   ` Daniel Jacobowitz [this message]
2003-12-05 17:38     ` David Carlton
2003-12-05 17:40       ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2003-12-05  5:26 Michael Elizabeth Chastain
2003-12-01 21:40 Michael Elizabeth Chastain
2003-12-05  3:30 ` Daniel Jacobowitz
2003-12-05 16:57   ` David Carlton
2003-12-05 17:16     ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031205171658.GB27834@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox