Move GDB to C++ ?

Vladimir Prus
Mon Jul 14 08:49:00 GMT 2008

Nick Roberts wrote:

>  > Tom> * Templates are used in at least one place -- vec.h.
>  > 
>  > I found another gdb-specific example of this: observers.  A given
>  > observer is essentially an instance of a template class.
> From my point of view, another benefit of using C++, is presumably that
> variable objects could be represented as linked lists, rather than use the
> current vector API which, for reasons I've already given, I think is
> unsuitable.

Without getting into that discussion again, it's clear that either std::vector,
or std::list, or std::deque, are much better than anything implementable in C.

- Volodya

More information about the Gdb mailing list