From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23767 invoked by alias); 1 Aug 2008 14:11:48 -0000 Received: (qmail 23592 invoked by uid 22791); 1 Aug 2008 14:11:46 -0000 X-Spam-Check-By: sourceware.org Received: from hoat.troll.no (HELO hoat.troll.no) (62.70.27.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 01 Aug 2008 14:11:27 +0000 Received: from hoat.troll.no (tedur.troll.no [62.70.27.154]) by hoat.troll.no (Postfix) with SMTP id AC75620A60 for ; Fri, 1 Aug 2008 16:11:24 +0200 (CEST) Received: from gar.trolltech.de (gar.trolltech.de [10.4.0.24]) by hoat.troll.no (Postfix) with ESMTP id 94FEF20A4D for ; Fri, 1 Aug 2008 16:11:24 +0200 (CEST) From: =?utf-8?q?Andr=C3=A9_P=C3=B6nitz?= To: gdb@sourceware.org Subject: Re: Move GDB to C++ ? Date: Fri, 01 Aug 2008 14:11:00 -0000 User-Agent: KMail/1.9.9 References: <487658F7.1090508@earthlink.net> <20080801131312.GA14712@caradoc.them.org> <200808011352.m71Dq1iY027637@brahms.sibelius.xs4all.nl> In-Reply-To: <200808011352.m71Dq1iY027637@brahms.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200808011613.56980.apoenitz@trolltech.com> 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: 2008-08/txt/msg00010.txt.bz2 On Friday 01 August 2008 15:52:01 Mark Kettenis wrote: > More concretely. On OpenBSD we build GDB as a native debugger on all > our platforms. Some of these platforms still use GCC 2.95.3, because > later versions are slower, have a bigger memory footprint and have > more bugs, at least as far as the C compiler is concerned. Others use > GCC 3.3.5 for much the same reason. This is unlikely to change soon, > especially if GCC is going to be rewritten in C++. Rewriting GDB in > C++ is bad news for those platforms because GCC 2.95.3 is not a very > good C++ compiler and ships with an outdated STL library. gcc 2.95.3 is a pretty good compiler for a reasonably usable subset of C++. The accompanying Standard Library fits the same bill.=20 I've used both until about a year ago for some old project that was=20 not easily portable for other reasons. There is absolutely no need to believe that moving a few but important baby steps towards C++ would kill gdb on OpenBSD. Andr=C3=A9