Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.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 18:22:00 -0000	[thread overview]
Message-ID: <3DB74B63.3080504@redhat.com> (raw)
In-Reply-To: <20021023234729.GA5916@nevyn.them.org>

> On Wed, Oct 23, 2002 at 07:36:22PM -0400, Andrew Cagney wrote:
> 
>> - 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?
> 
> 
> I believe several people have said that Apple finished and uses this,
> and that it is useful to them.  Which puts things in a different light.

GDB's experience with [large] merges is that they always degenerate into 
rewrites. I, unfortunatly, can't think of a reason to expect this 
feature's merge to be any different.  I also think that people working 
on cleaning up GDB's symtab code already have enough to contend with, 
without, that is, also having to worry about preserving the existing 
memmap code so that some hopothetical merge will be made easier. 
Instead I think the objective should be to focus solely on getting the 
basic code into shape, and then (and only then) consider new features 
such as this which was prototyped by Apple.

On an unrelated matter, I should respond to your last HP follow-fork 
post :-^

>> 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.
> 
> 
> But I don't see that most of these structural improvements are
> necessary for the work David is doing...

As with the frame code, I've taken the more long term approach of 
cleaning up the existing code and tightening the interfaces, so that the 
CFI stuff can slip in (instead of just grafting the CFI code on top of 
the existing mechanisms as was done with x86-64).

An old old house, like GDB, needs constant maintanenace as without it, 
it will quickly fall into disrepair and crumble.

Andrew



  reply	other threads:[~2002-10-24  1:22 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
2002-10-23 16:47             ` Daniel Jacobowitz
2002-10-23 18:22               ` Andrew Cagney [this message]
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=3DB74B63.3080504@redhat.com \
    --to=ac131313@redhat.com \
    --cc=carlton@math.stanford.edu \
    --cc=drow@mvista.com \
    --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