Move GDB to C++ ?

Robert Dewar dewar@adacore.com
Sat Jul 12 05:41:00 GMT 2008


Daniel Jacobowitz wrote:
> On Fri, Jul 11, 2008 at 05:08:39PM +0100, Dave Korn wrote:
>>   I think the real issue is that GDB has to be able to debug itself and GDB
>> is currently weak in a few important areas of C++ support.  I think that
>> should be resolved before we consider porting the code.
> 
> I don't think it's a big issue.  The biggest problems have been
> resolved; additional problems are mostly in bits of C++ that we would
> probably avoid anyway.

In fact it can just be a criterion for what features in C++ to allow
that they must be easily debuggable.

If a move to C++ for GDB and possibly other similar projects is made,
and a well established subset prescribed, it may well be worth having
a switch built into g++ to enforce this subset (similar to the use of
-gnatg in Ada, although that does not go as far as it might in enforcing
the use of the allowed Ada subset for the compiler itself.
> 



More information about the Gdb mailing list