This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB in C++
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sourceware dot org
- Date: Sun, 1 Jul 2007 16:53:55 -0400
- Subject: Re: GDB in C++
- References: <46866F20.2010902@eagercon.com>
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.
--
Daniel Jacobowitz
CodeSourcery