This is the mail archive of the
mailing list for the GDB project.
Re: Will GDB be rewritten in C++ (again)
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Phi Debian <phi dot debian at gmail dot com>
- Cc: "gdb\@sourceware.org" <gdb at sourceware dot org>
- Date: Fri, 04 Aug 2017 12:28:33 +0100
- Subject: Re: Will GDB be rewritten in C++ (again)
- Authentication-results: sourceware.org; auth=none
- References: <CAJOr74iEEjW-eOtPT7OnpKZMmi4b2eJjEvPkozTmFao804EaGw@mail.gmail.com>
Phi Debian <email@example.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?
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