Re: Using C++ code inside gdb

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hello,

On 10/09/2015 07:08 AM, Ashutosh wrote:

> Regarding using C++, I just hit upon the following conversation on the
> gdb-patches list:
> https://sourceware.org/ml/gdb-patches/2015-02/msg00202.html
> 
> where it seems that there's some work going on compiling gdb sources
> with g++. Any idea if this support is available in some form already
> in gdb 7.10 or when is it planned to be released?

The status in the wiki page linked from that url is accurate.

GDB nowadays builds and links in C++ when configured
with --enable-build-with-cxx, though that still spews a ton of warnings.
There's been constant incremental progress so we'll get there eventually.

No release has been marked as the one where we'll switch to C++ as
default language -- it'll get done when it's done; though the sooner
the better.  :-)

Thanks,
Pedro Alves
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.