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: Will therefore GDB utilize C++ or not?


On Fri, May 18, 2012 at 10:17 PM, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>
> Joel> For GDBserver, however, which is often cross-compiled to bare
> Joel> systems, I feel that getting a C++ compiler could be even more
> Joel> challenging that on those exotic but otherwise relatively rich
> Joel> platforms.
>
> Ok.
>
> I think in that case we must drop this idea.

For the record, I stand by my earlier messages in this thread about
code sharing with gdbserver; I think there is plenty of room for a C
gdbserver and a C++ one, and the times when C++ doesn't work on your
target are definitely times when you prefer the simplest possible and
most bulletproof gdbserver.

What I'd really love to see, in C or C++, would be unit testing;
having worked in a unit test intensive environment for the past year,
I think it's a bit nuts that anyone *doesn't*.  It seems to me that
there are better tools for this in C++ than in C, but I have
definitely not done a serious investigation of the options.

--
Thanks,
Daniel


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