This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/20836] C++ compilation of GDB codebase
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 18 Nov 2016 12:18:45 +0000
- Subject: [Bug c++/20836] C++ compilation of GDB codebase
- Auto-submitted: auto-generated
- References: <bug-20836-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20836
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
> I have observed that in GDB 7.12, only some part (namely files under "gdb/"
> folder) are compiled using C++ compiler g++. But, the code under "bfd/" and
> "include/" etc. are still compiled by GCC.
Correct. The gdb C++ conversion plan only covered the gdb/ subdirectory:
https://sourceware.org/gdb/wiki/cxx-conversion
Note that even though the repo is shared, bfd/ is maintained by the binutils
project, not by gdb.
Also note that in git master, gdb/ requires a C++11 compiler. It's no longer
possible to build that part with a C compiler.
> My question is that is it work in progress or do you never plan to compile the
> bfd and other code with C++ support ? If yes, is there any specific reason for
> the same ?
There's no plan on the binutils side, AFAIK, but I can't speak for binutils.
I'm curious on why you ask, though.
--
You are receiving this mail because:
You are on the CC list for the bug.