From: Andrew Cagney <ac131313@redhat.com>
To: Andrew Cagney <ac131313@redhat.com>
Cc: David Carlton <carlton@math.stanford.edu>,
Elena Zannoni <ezannoni@redhat.com>, Jim Blandy <jimb@redhat.com>,
gdb <gdb@sources.redhat.com>
Subject: Re: current namespace game plan
Date: Wed, 23 Oct 2002 16:36:00 -0000 [thread overview]
Message-ID: <3DB73276.5000108@redhat.com> (raw)
In-Reply-To: <3DB41A90.4070403@redhat.com>
David, humor me .... :-)
You've now figured out that GDB's symbol table and C++ are big nasty
beasties that need to be tamed. Unfortunatly they are so big, and so
nasty that the direct approach (attack, attack) just leads to a near
death experience - I see you're now somewhat recovered :-)
Anyway, as with a wild animal, can I suggest trying a different approach
- confine it so that it is no longer able to lash out in all directions.
I see that you've even started doing this.
Anyway, to this end I've several idea's:
- Tighten the symtab - core-gdb interface
Here, the objective is to confine the symbol table readers to a very
small arena so that you know exactly how GDB uses them. Since GDB
accesses things though a very tight interface, the symtab code gets
closer to plug-and-play - drop in a new reader and test it.
- Push the partial symtab code into the stabs reader.
That way, all the partial symtab bufuddlement isn't in core GDB and you
, and no one else, has to content with it. Did I mention ``tighten the
symtab - core-gdb interface''?
- eliminate all that symbol table memory mapping stuff
(Just remembered that this, last time, went into limbo) I really think,
if symbol table reading is a problem, then better/cleaner solutions can
be found - thinking about it, changing an already long sequence:
.c >gcc> .s >as> .o >ld> .out >gdb
into an even longer:
.c >gcc> .s >as> .o >ld> .out >gdb> .mmap >gdb
is like putting ``good money in after bad''. At present we're clinging
to it because it ``might be useful'' - just like so many of those
unfinished ``#if 0'' blocks ``might be useful'' .... Time to wield the
axe?
None of these are directly name-space related. However, I think that
they help clear the deck so that you've a better foundation on which to
build namespaces.
Andrew
next prev parent reply other threads:[~2002-10-23 23:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-04 14:57 David Carlton
2002-10-04 15:10 ` Daniel Jacobowitz
2002-10-04 15:58 ` David Carlton
2002-10-04 17:18 ` Daniel Jacobowitz
2002-10-04 19:43 ` Jim Blandy
2002-10-07 11:50 ` David Carlton
2002-10-16 11:14 ` Elena Zannoni
2002-10-16 11:46 ` David Carlton
2002-10-21 12:08 ` Andrew Cagney
2002-10-23 16:36 ` Andrew Cagney [this message]
2002-10-23 16:47 ` Daniel Jacobowitz
2002-10-23 18:22 ` Andrew Cagney
2002-10-23 21:02 ` Stan Shebs
2002-10-24 15:07 ` David Carlton
2002-10-24 15:26 ` Andrew Cagney
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=3DB73276.5000108@redhat.com \
--to=ac131313@redhat.com \
--cc=carlton@math.stanford.edu \
--cc=ezannoni@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=jimb@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