Move GDB to C++ ?

Vladimir Prus vladimir@codesourcery.com
Mon Jul 14 16:31:00 GMT 2008


On Monday 14 July 2008 20:12:28 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.

I recall we have this problem solved ;-) We did not actually push that
to the field, since we prototyped it with a library, which a customer 
might link into a application with different libstdc++, but GDB, been
a binary, would not have that issue.

- Volodya

 




More information about the Gdb mailing list