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++ ?


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

 



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