From: David Carlton <carlton@kealia.com>
To: gdb-patches@sources.redhat.com
Cc: jimb@redhat.com
Subject: Re: [RFA/dwarf] Pass some global state around
Date: Mon, 10 Nov 2003 16:55:00 -0000 [thread overview]
Message-ID: <yf2llqo6u51.fsf@hawaii.kealia.com> (raw)
In-Reply-To: <20031110155049.GA23799@nevyn.them.org> (Daniel Jacobowitz's message of "Mon, 10 Nov 2003 10:50:49 -0500")
On Mon, 10 Nov 2003 10:50:49 -0500, Daniel Jacobowitz <drow@mvista.com> said:
> This is a cleanup that I've discussed with Jim before. We create a new
> structure, dwarf2_cu, and pass it to just about everything. Primary goals:
> - Move some things that don't really belong in the comp_unit_head out of
> that and into the new type.
> - Move global state that shouldn't be global into the new type.
> The eventual goal is to eliminate most/all global state for the reading of a
> compilation unit, so that we can do more than one at a time.
Seems like a good idea to me - global state is bad, long argument
lists are bad, and arguments that frequently get passed around
together should be combined into a single data structure.
David Carlton
carlton@kealia.com
next prev parent reply other threads:[~2003-11-10 16:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-10 15:51 Daniel Jacobowitz
2003-11-10 16:55 ` David Carlton [this message]
2003-11-11 21:41 ` Jim Blandy
2003-11-12 17:12 ` Daniel Jacobowitz
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=yf2llqo6u51.fsf@hawaii.kealia.com \
--to=carlton@kealia.com \
--cc=gdb-patches@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