Move GDB to C++ ?

Robert Dewar dewar@adacore.com
Mon Jul 14 16:15:00 GMT 2008


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.

> 



More information about the Gdb mailing list