Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Elena Zannoni <ezannoni@redhat.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: Elena Zannoni <ezannoni@redhat.com>,
	Andrew Cagney <cagney@gnu.org>,
	gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME
Date: Wed, 18 Feb 2004 00:43:00 -0000	[thread overview]
Message-ID: <16434.46111.793011.404391@localhost.redhat.com> (raw)
In-Reply-To: <20040217192919.GA31445@nevyn.them.org>

Daniel Jacobowitz writes:
 > On Tue, Feb 17, 2004 at 02:09:49PM -0500, Elena Zannoni wrote:
 > > Daniel Jacobowitz writes:
 > >  > Because the cleaner interface is not my goal - it's a side goal to my
 > >  > actual aims, which are improved GDB startup time and memory usage. 
 > > 
 > > >From your previous postings I understand is that your cplusplus stuff
 > > has a noticeable impact on performance and memory usage and you are
 > > trying to shave gdb's time and size wherever there is a chance. From
 > > Paul's postings instead I get the impression that he needs to revise
 > > the current interface.
 > 
 > This has, in fact, nothing to do with the C++ stuff.  This has to do
 > with the fact that when I start GDB on a 200MHz board with debug info
 > in glibc, it takes more than thirty seconds to load partial symbol
 > tables.  That's so slow as to be unusable.  It makes the entire
 > testsuite timeout, for one thing.
 > 

Did you identify specific bottlenecks?

 > Do you have an answer to my question?  Without one I don't understand
 > what Andrew is asking of me.
 > 

I don't speak for Andrew. I think he replied anyway.

 > As for the interface, I don't think that the cleanup patches I've
 > posted so far have any substantial effect on the interface.  I was not
 > planning to post that existing grossness, my weekend hack, as a
 > proposal - it was an answer to "can you elaborate".  Before submitting
 > patches to implement it I would, I would hope, have asked for comments
 > on the interface.  But if I can't make the interface go faster, then
 > there's no point in proposing the interface.  That is a work in
 > progress.
 > 

I had to pry this info out of you over a few e-mail exchanges. Your
first posting didn't explain what you were doing, just that you were
testing some new approach. Since the patch seemed to be put together
in a hurry (and that's why I asked you to split it) I honestly wanted
to know what you were planning to do, especially since you are adding
a new macro. So it seemed to me that you were doing exactly that: going
ahead with the first stages of a big change but that the change itself
hadn't been discussed.

 > You want a high level big picture?  I would like to separate the
 > concepts of full demangled name for language-specific use and
 > minimalist demangled data (basename, non-DMGL_PARAMS, whatever else)
 > needed for lookups in the symbol table.  This lets us reduce the
 > storage used by the symbol table, the data we have to generate at
 > startup, and the data we have to wade through when lookup things up in
 > the tables.
 > 

thank you.  What do you mean by separate? Where would you store the
demangled name? Have it demangled on demand only?


  parent reply	other threads:[~2004-02-18  0:43 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-16 21:24 Daniel Jacobowitz
2004-02-16 21:53 ` Elena Zannoni
2004-02-16 22:57   ` Daniel Jacobowitz
2004-02-16 23:35     ` Paul Hilfinger
2004-02-17  0:05       ` Daniel Jacobowitz
2004-02-17  9:59         ` Paul N. Hilfinger
2004-02-17 15:57     ` Andrew Cagney
2004-02-17 16:01       ` Daniel Jacobowitz
2004-02-17 19:14         ` Elena Zannoni
2004-02-17 19:29           ` Daniel Jacobowitz
2004-02-17 23:10             ` Andrew Cagney
2004-02-18  0:43             ` Elena Zannoni [this message]
2004-02-18  1:04               ` Daniel Jacobowitz
2004-02-18  0:20 ` David Carlton
2004-02-18  0:23   ` Daniel Jacobowitz
2004-02-18  0:27     ` Elena Zannoni
2004-02-18  0:32       ` Daniel Jacobowitz
2004-02-18  0:54         ` Elena Zannoni
2004-02-18  1:06           ` Daniel Jacobowitz
2004-02-18  0:49   ` Paul Hilfinger
2004-02-18  1:27     ` David Carlton
2004-02-18  8:12       ` Paul N. Hilfinger
2004-02-18 16:45         ` David Carlton
2004-02-20  9:32           ` Paul N. Hilfinger

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=16434.46111.793011.404391@localhost.redhat.com \
    --to=ezannoni@redhat.com \
    --cc=cagney@gnu.org \
    --cc=drow@false.org \
    --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