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: Move GDB to C++ ?


Daniel Jacobowitz wrote:
On Mon, Jul 14, 2008 at 07:53:30PM +0400, Vladimir Prus wrote:
I think that in this case, the most important argument is that GDB already
uses most of the features C++ has to offer -- except in non-standard and
undocumented way. Switch to C++ will make that better. The only price to
pay is requiring C++ compiler -- and given that the GNU project makes GCC,
I just don't see the issue.

Consider requiring the C++ runtime, then... this would be a problem for CodeSourcery in the same way that it would be for AdaCore. Solvable in both cases, and I have no qualms about solving it, but it will be some work.

Right, indeed, I am not saying this cannot be done, just that the infrastructure work needed, especially on multiple targets, is not trivial.




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