This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB in C++
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: drow at false dot org
- Cc: gdb at sourceware dot org
- Date: Mon, 2 Jul 2007 09:21:10 +0200 (CEST)
- Subject: Re: GDB in C++
- References: <46866F20.2010902@eagercon.com> <20070701205355.GC24316@caradoc.them.org>
> Date: Sun, 1 Jul 2007 16:53:55 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> On Sat, Jun 30, 2007 at 07:56:32AM -0700, Michael Eager wrote:
> > That said, when I read and step through GDB code I see
> > significant portions which are clearly written in a way
> > which attempts to emulate classes, objects, and both
> > data and member encapsulation.
> >
> > I also see some flaws in this emulation, some of which
> > affect performance, others which affect logic. There
> > are also places where the encapsulation is broken. All of
> > this makes debugging more difficult.
>
> I've seen this complain from at least three different people.
>
> I'm in favor of switching to C++. I'm not going to argue about it if
> others disagree, but I'll offer to do most of the work if the
> consensus is positive.
My position on this subject has not been changed. The more C++ code I
see, the more convinced I get that the language should die.
Mark