Internals for STL containers
Nick Roberts
nickrob@snap.net.nz
Thu Feb 7 19:29:00 GMT 2008
> > I would say they are pretty stable, because we have a stable ABI which
> > we are not going to break until C++0x: that means we can only implement
> > limited span changes, we cannot add data members, for example neither
> > change the memory layout of the classes.
Probably an ignorant question, but how does this particular ABI get used?
> Yes, it would certainly make sense to teach gdb (not just the Emacs
> interface of gdb) to recognize STL containers and give a better display.
> The members of std::vector have been stable since gcc-3.0, I'm pretty
> sure (certainly since 3.2).
I was thinking of doing it in Emacs, not Gdb. AFAIK, Gdb can't tell
what compiler created the executable.
> But that would be more appropriate to discuss on the gdb list.
Yes, but are the internals of the STL containers described somewhere,
the GCC internals manual, for example?
--
Nick http://www.inet.net.nz/~nickrob
More information about the Gcc
mailing list