Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@zwingli.cygnus.com>
To: Daniel Berlin <dan@cgsoftware.com>
Cc: gdb@sources.redhat.com
Subject: Re: More on DWARF2
Date: Thu, 19 Jul 2001 09:50:00 -0000	[thread overview]
Message-ID: <npvgkouaju.fsf@zwingli.cygnus.com> (raw)
In-Reply-To: <87k815bizp.fsf@cgsoftware.com>

Daniel Berlin <dan@cgsoftware.com> writes:
> You're proposing something that is about 75% of the work of what i've
> done.  
> However, it requires *more* memory than we currently use, because it
> would mean retaining more info, with no real way to distinguish the
> lifetimes of the info.
> I actually started by doing that, and then noticed we might as well
> just modularize it the whole way, and keep all the info about a given
> compilation unit, in a structure for that compilation unit, so we
> could throw it out when that compilation unit was done.
> You are proposing something that still keeps around the global
> variables, etc.
> It's the difference between 2 months, and 2 and a half months, of
> coding.  I figured since the original design had come back
> to bite us in the ass, I might as well do what I could to prevent it
> from happening again, and if it did happen, to make it so pieces could
> be reused without so much pain and suffering.

That seems reasonable.  I know it sounds otherwise, but I'm not so
much proposing an alternative approach as checking my understanding of
the issues.

> Unless, of course, you start introducing more global variables to
> communicate state, which IMHO, is a bad idea.

I agree.


      reply	other threads:[~2001-07-19  9:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-18 22:12 Daniel Berlin
2001-07-19  9:50 ` Jim Blandy [this message]

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=npvgkouaju.fsf@zwingli.cygnus.com \
    --to=jimb@zwingli.cygnus.com \
    --cc=dan@cgsoftware.com \
    --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