From: Andrew Cagney <cagney@gnu.org>
To: Daniel Jacobowitz <drow@false.org>
Cc: Elena Zannoni <ezannoni@redhat.com>, gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add SYMBOL_SET_LINKAGE_NAME
Date: Tue, 17 Feb 2004 23:10:00 -0000 [thread overview]
Message-ID: <40329F59.6070009@gnu.org> (raw)
In-Reply-To: <20040217192919.GA31445@nevyn.them.org>
> > Er, why not start by defining a relevant interface and then work
> > inwards? That way potential clients, such as paulh, can determine if it
> > is sufficient for their needs. The first implementation doesn't even
> > need to be fast, just correct. Once we've hard data on the interfaces
> > run-time behavioral characteristics we can consider symtab internal
> > changes.
>
> 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. An
> implementation which is not fast is a step backwards. I don't
> understand how you can propose to measure "hard data" on "run-time
> behavioral characteristics" without implementing the symtab internal
> changes - what am I missing?
I was refering to the interface, not the implementation. For instance:
- how often it is called?
- when it is called?
- with what parameters it is called?
- how time critical are the calls?
And of course, how many existing interfaces can, as a consequence, be
deprecated, obsoleted or deleted. The implementation is secondary. As
PaulH noted, the initial implementation could even be based on the
existing structure (just stripping off trailing parameter list).
Elena wrote:
> The symbol table is already a mess, with multiple redundant
> interfaces. At the moment there isn't a clear picture of what various
> bits of gdb need from the symbol table. How do we know the direction
> we are going is improving things generally across the board? How can
> we know that, if this is not the case, the impact is not too heavy on
> other parts and we can live with the tradeoff?
In the -file-list-exec-source-files discussion, notice that I'm trying
to emphasize that things need to be a step removed from the symbol table
- define the requirements according to the users needs, and not
according to the existing symtab implementation.
Andrew
next prev parent reply other threads:[~2004-02-17 23:10 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 [this message]
2004-02-18 0:43 ` Elena Zannoni
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=40329F59.6070009@gnu.org \
--to=cagney@gnu.org \
--cc=drow@false.org \
--cc=ezannoni@redhat.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