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]

Move GDB to C++ ?


As many know, there is a project afoot to investigate the recoding of GCC from C into C++. I believe the C++ idea was briefly touched on for GDB at the summit, although I don't remember much discussion. Anyway, this would be a good time to start thinking about it, and if people are generally in favor of the idea, we can start small by tweaking the sources to be C++-friendly, avoiding keywords and so forth; GCC has a new warning flag -Wcxx-compat that can help.

For my part, I think we should do it. GDB has quite a bit of object-like structure internally, and while in the past it was taking a bit of a chance to rely on the availability and reliability of C++ compilers, those concerns are now generally outdated; I'm not sure any of the potential problem hosts are even supported any longer.

Stan


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