This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Make symbol completion language-specific
> > If I were to use a VEC, I would have to return a copy of the contents
> > of the VEC, which seems silly because I'd end up immediately destroying
> > an array that I just copied.
>
> It still saves you having to write your own push and pop. But, hey,
> you already have them... Personally I'd rather do the copy than have
> my own set of accessors, but that's only my preference.
I don't have a strong preference either, but your point about having
to redefine some accessors is a good one.
I've committed the patch as is, and will do the VEC replacement as
a separate patch.
Thanks Daniel,
--
Joel