Re: add vector container type

Nathan Sidwell
2006-07-11T18:19:31Z

Jim Blandy wrote:
> "Mark Kettenis" <mark.kettenis@xs4all.nl> writes:
>> If this interface is better, are we going to convert other bits of
>> GDB to use these interfaces?
>
> It's a type-safe form of the common idiom for dynamically resized
> arrays. For me, at least, type safety is a big deal. I definitely
> think we should convert other pieces of GDB to use it.
>
> Is this file modified much from the GCC version? Could GDB and GCC
> share this from libiberty?

IMO it is impractical to share this. GCC requires too much GC-specific
additional bits. That's not to say putting this in libiberty would be a bad
thing, just that GCC couldn't really use that copy.

nathan

--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk