From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28203 invoked by alias); 10 Jul 2008 18:46:38 -0000 Received: (qmail 28194 invoked by uid 22791); 10 Jul 2008 18:46:37 -0000 X-Spam-Check-By: sourceware.org Received: from elasmtp-mealy.atl.sa.earthlink.net (HELO elasmtp-mealy.atl.sa.earthlink.net) (209.86.89.69) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 10 Jul 2008 18:46:18 +0000 Received: from [68.108.140.244] (helo=macbook-2.local) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1KH19k-0002LC-Ee for gdb@sourceware.org; Thu, 10 Jul 2008 14:46:16 -0400 Message-ID: <487658F7.1090508@earthlink.net> Date: Thu, 10 Jul 2008 18:46:00 -0000 From: Stan Shebs User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Move GDB to C++ ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: ae6f8838ff913eba0cc1426638a40ef67e972de0d01da940a7e9be149e88c81203c84bbcfdfcf6cc350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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-07/txt/msg00077.txt.bz2 As many know, there is a project afoot to investigate the recoding of GCC from C into C++. I believe the C++ idea was briefly touched on for GDB at the summit, although I don't remember much discussion. Anyway, this would be a good time to start thinking about it, and if people are generally in favor of the idea, we can start small by tweaking the sources to be C++-friendly, avoiding keywords and so forth; GCC has a new warning flag -Wcxx-compat that can help. For my part, I think we should do it. GDB has quite a bit of object-like structure internally, and while in the past it was taking a bit of a chance to rely on the availability and reliability of C++ compilers, those concerns are now generally outdated; I'm not sure any of the potential problem hosts are even supported any longer. Stan