This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Will GDB be rewritten in C++ (again)


Phi Debian <phi.debian@gmail.com> writes:

> Now I retrieved some bandwith and consider going back on GDB dev, but
> still today I am reluctant with C++
>
> So my question is, does this rewrite of GDB in C++ has been shelved or
> is is still going?

Phi,
We don't _rewrite_ GDB in C++.  As Joel said, GDB requires a C++11
compiler, because we started to use some C++-11 features.  Most of the
code is still written in C, and the code base isn't changed dramatically.

>
> For what I see on my distro, the gdb-7.11.1 is still C, so i would
> guess that no progress has been done since 2012 ?
>
> PS: Don't flame on C++ vs C, my question is really about the road map
> of GDB. If this is pure C I could refresh my mem to contribute, if
> going C++ this is fine too, I would simply find other project there
> are plenty :)

One of the reasons that we move GDB to C++ is to make maintenance and
development easier, not harder.  You should feel easier to write code in
GDB nowadays.

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]