public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: David Carlton <carlton@math.stanford.edu>
Cc: gdb <gdb@sources.redhat.com>
Subject: Re: break jmisc.main
Date: Fri, 14 Mar 2003 04:18:00 -0000	[thread overview]
Message-ID: <20030314041816.GA26268@nevyn.them.org> (raw)
In-Reply-To: <ro1el5akdj4.fsf@jackfruit.Stanford.EDU>

On Thu, Mar 13, 2003 at 04:17:03PM -0800, David Carlton wrote:
> On Thu, 13 Mar 2003 18:36:11 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> 
> > Hmm, I like this in principle.  Could it have a more prominent FIXME on
> > it though?
> 
> Sure, will do.
> 
> > It's really not a good long term solution.  We shouldn't need both
> > demangled copies... or if we do, then perhaps both should be
> > associated with the minsym.
> 
> Well, this would be another argument in favor of coalescing minimal
> symbols and partial symbols (and possibly even regular symbols) into a
> single data structure: it might make it a possible to update incorrect
> information like this.

Yes, I agree that this is the way to go.  Particularly, once we've read
a symtab in we should never need the corresponding psymtab again.  Of
course, there are more partial symbols than minimal symbols; and
symbols take more memory than partial symbols.  So it's not trivial.

By the way, I noticed something very interesting today.  SGI apparently
had DWARF-2 extensions including a .debug_typenames section (and var,
func, weak names) to expand upon the concept of .debug_pubnames.  We
could make GCC generate those and then use them to build psymtabs, I
bet.  That would speed up load time a lot.

Oh well, something else for the List.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

  reply	other threads:[~2003-03-14  4:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 20:39 David Carlton
2003-03-13 20:54 ` David Carlton
2003-03-13 20:57 ` Daniel Jacobowitz
2003-03-13 21:07   ` Daniel Jacobowitz
2003-03-13 21:16   ` David Carlton
2003-03-13 21:22     ` Daniel Jacobowitz
2003-03-13 23:32     ` David Carlton
2003-03-13 23:36       ` Daniel Jacobowitz
2003-03-14  0:17         ` David Carlton
2003-03-14  4:18           ` Daniel Jacobowitz [this message]
2003-03-13 23:04   ` Tom Tromey
2003-03-13 22:59 ` Tom Tromey
2003-03-13 23:03   ` Daniel Jacobowitz
2003-03-14 15:09 Michael Elizabeth Chastain

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=20030314041816.GA26268@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=carlton@math.stanford.edu \
    --cc=gdb@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).