This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Will therefore GDB utilize C++ or not?
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> If GDB should stay with C then OK (although FYI I am not so in
Jan> favor of it). But then it should be real C - therefore without GDB
Jan> cleanups, without GDB TRY_CATCH etc. etc., proper C code returning
Jan> error codes from each function and each caller checking it and
Jan> doing all the local cleanups by hand.
I can't tell if you're joking here, but I don't think it would be very
practical to do this. It would be an enormous effort.
I have wondered whether we could limit gdbserver and the shared code in
this way. But I assume that is impractical as well; and now I am more
interested in measuring the actual impact of C++, rather than assuming
it is very bad.
Tom