Move GDB to C++ ?

Dave Korn dave.korn@artimi.com
Fri Jul 11 16:09:00 GMT 2008


Joel Brobecker wrote on 11 July 2008 07:26:

> (I agree with Tom: Very Brave :)
> 
>> The subset of C++ that I like is pretty much that what is called C.  I
>> don't think the benefits of using a few C++ outweighs the loss of the
>> ability to compile GDB with a bog standard C compiler.
> 
> That would be my concern #1. I really think that it's a huge plus
> to be able to build GDB with a C compiler. C++ compiler are just
> not as common as C compilers, particularly on more exotic platforms.
 
  Then again, how many such platforms even run C compilers, as opposed to
being entirely cross-targeted?

  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.

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Gdb mailing list