From: Keith Seitz <keiths@redhat.com>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA] dwarf2_physname
Date: Tue, 01 Sep 2009 22:10:00 -0000 [thread overview]
Message-ID: <4A9D9BD9.7010005@redhat.com> (raw)
In-Reply-To: <m3iqg2s6e9.fsf@fleche.redhat.com>
On 09/01/2009 02:26 PM, Tom Tromey wrote:
> If this is a hardship for some reason we can discuss it.
I don't have a problem *not* committing it, especially with all the 7.0
talk about. But it will be difficult for me to keep posting patches
which refine earlier (uncommitted patches). Well, actually, it's not as
much a problem for me as it is for maintainers. Stuff will be really
hard to read/diff/try. [I think (TM).]
But it's your (collective) call. Tell me what you'd like me to do, and
I'll do it.
> Keith> +/* A vector used during linkage name generation. */
> Keith> +typedef struct die_info *die_info_p;
> Keith> +DEF_VEC_P (die_info_p);
> Keith> +static VEC(die_info_p) *die_list;
>
> I wonder if a global is really necessary.
> I didn't check.
The global is there to avoid having to reallocate the thing every time
dwarf2_physname is called. In a large C++ application, that could be
MANY MANY MANY times.
> So, something must be missing here -- either an explicit initialization
> of the vec, or this should use VEC_safe_push.
Yes, there *is* an explicit initialization in _initialize_dwarf2_read,
but I did not include it in this revision of the patch, since it would
not actually be used *until* I "flipped" the switch. In other words, you
would have seen the initialization when the final patch was submitted.
I apologize, I know this is going to be very confusing. Think of this
first patch like a "big picture" design overview. Subsequent patches
will build on/refine this until everything is ready to go in and be
"turned on."
The problem is that the necessary changes are /so/ pervasive that in
order to avoid test suite failures, I would have to submit a several
thousand line patch which touches dozens of files, and I was hoping to
avoid doing that kind of "patch dumping" ('cause I don't like it when
that is done).
Again, let me know how you would like me to proceed, and I will happily
try to accommodate you. The burden of review is on you (maintainers). I
want to do what I can to make it as easy as possible for you.
Keith
prev parent reply other threads:[~2009-09-01 22:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-31 22:51 Keith Seitz
2009-08-31 23:10 ` Michael Eager
2009-08-31 23:23 ` Keith Seitz
2009-08-31 23:35 ` Michael Eager
2009-09-01 22:11 ` Daniel Jacobowitz
2009-09-01 22:27 ` Daniel Jacobowitz
2009-09-01 23:18 ` Michael Eager
2009-09-01 23:37 ` Daniel Jacobowitz
2009-09-02 1:12 ` Michael Eager
2009-09-01 23:26 ` Keith Seitz
2009-09-01 23:42 ` Daniel Jacobowitz
2009-09-14 18:39 ` Keith Seitz
2009-09-14 22:48 ` Daniel Jacobowitz
2009-09-14 23:56 ` Keith Seitz
2009-09-15 13:32 ` Daniel Jacobowitz
2009-09-15 15:53 ` Keith Seitz
2009-09-15 16:12 ` Daniel Jacobowitz
2009-09-16 20:27 ` Keith Seitz
2009-09-18 22:34 ` Tom Tromey
[not found] ` <m37hwjy2tl.fsf@fleche.redhat.com>
2009-09-01 0:06 ` Michael Eager
2009-09-01 21:27 ` Tom Tromey
2009-09-01 22:10 ` Keith Seitz [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=4A9D9BD9.7010005@redhat.com \
--to=keiths@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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