From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14859 invoked by alias); 1 Jul 2007 20:54:29 -0000 Received: (qmail 14847 invoked by uid 22791); 1 Jul 2007 20:54:29 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 01 Jul 2007 20:54:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 780FD982B8 for ; Sun, 1 Jul 2007 20:54:26 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 32ACC98299 for ; Sun, 1 Jul 2007 20:54:26 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I56Qd-0006Oz-CC for gdb@sourceware.org; Sun, 01 Jul 2007 16:53:55 -0400 Date: Sun, 01 Jul 2007 20:54:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: GDB in C++ Message-ID: <20070701205355.GC24316@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <46866F20.2010902@eagercon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46866F20.2010902@eagercon.com> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00003.txt.bz2 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