From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5890 invoked by alias); 17 Feb 2015 23:19:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 5876 invoked by uid 89); 17 Feb 2015 23:19:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-pd0-f178.google.com Received: from mail-pd0-f178.google.com (HELO mail-pd0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 17 Feb 2015 23:19:45 +0000 Received: by pdev10 with SMTP id v10so47016219pde.10 for ; Tue, 17 Feb 2015 15:19:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=sCCcjeQ3tZSwjSdQLsWz/U30dOCYkmrSfZ7J/1mTxj4=; b=M44P3JYGm1E11r20OVaqAZQOVDUMZkkNfiVK0bOmjOdRVP6WhfWsXzpnP4gT2uHpqm AqzDDGbKpcAg/hvq5S3DEG9543ecRzcW3bXn4ohiMRTn697V3wZCmh/VkmW2KzUbsdk9 7g+j/K3c2mQ2RvBSKmlaFh+E2tX3FS1H90IPwH44Fyh++QGjA9/f/6SxKtqSrUZ4LKV8 fZMjM5F67ZvFjE8E1ocwTDvB3uwq2uZLMhC8M4k1YSjRdF+3tty8tA3q4Z6u1CJpMvFn iBD+MubxJpBxxZzt0/aVhhCfDhc33HNuhqQMhiWT6bWhBEcsV+WvM8KnETZm11/0ujHZ HPcw== X-Gm-Message-State: ALoCoQmvyq32KSuG4iWG4uk4AAQaP8biHpqDZhrVxZ1dEf6JN8Zgg1I8fiD4m5FjGhjoxRij7RLs X-Received: by 10.70.95.166 with SMTP id dl6mr52944528pdb.140.1424215184139; Tue, 17 Feb 2015 15:19:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.70.127.195 with HTTP; Tue, 17 Feb 2015 15:19:23 -0800 (PST) In-Reply-To: <1423524046-20605-1-git-send-email-palves@redhat.com> References: <1423524046-20605-1-git-send-email-palves@redhat.com> From: Patrick Palka Date: Tue, 17 Feb 2015 23:19:00 -0000 Message-ID: Subject: Re: [PATCH 00/36] Support building GDB as a C++ program To: Pedro Alves Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-02/txt/msg00470.txt.bz2 On Mon, Feb 9, 2015 at 6:20 PM, Pedro Alves wrote: > I'm glad to announce that the global maintainers have reached > consensus on converting GDB to use C++ as implementation language. > > See the project page here: https://sourceware.org/gdb/wiki/cxx-conversion My opinion is not worth much but I must admit that I am not a fan of migrating to C++. To keep it short -- on the whole, despite C's disadvantages and C++'s advantages, I personally find C to be much more pleasing to work with. I hope it is not too presumptuous to objectively state that it is easier to follow the unassailable KISS principle with C. On another note, as you all may already know, C++ support in GDB is not great. A migration to C++ will in the medium term make it harder to debug GDB with GDB. I wonder if this is an issue worth considering.