From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11845 invoked by alias); 11 Feb 2015 17:15:38 -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 11776 invoked by uid 89); 11 Feb 2015 17:15:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no 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; Wed, 11 Feb 2015 17:15:35 +0000 Received: by pdev10 with SMTP id v10so5595039pde.7 for ; Wed, 11 Feb 2015 09:15:33 -0800 (PST) X-Received: by 10.68.232.130 with SMTP id to2mr47840798pbc.169.1423674933600; Wed, 11 Feb 2015 09:15:33 -0800 (PST) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id sq6sm1436857pbc.40.2015.02.11.09.15.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Feb 2015 09:15:33 -0800 (PST) Message-ID: <54DB8E32.7040109@gmail.com> Date: Wed, 11 Feb 2015 17:15:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH 00/36] Support building GDB as a C++ program References: <1423524046-20605-1-git-send-email-palves@redhat.com> In-Reply-To: <1423524046-20605-1-git-send-email-palves@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00315.txt.bz2 Hi Pedro, Nice to see these patches for c++ conversion, and thanks very much for doing this. I went through the first 30 patches, and skimmed the rest today. Don't see anything wrong obviously. On 09/02/15 23:20, 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 > > This series implements the first parts of the transition plan > described in that page. Namely: > > - Add a --enable-build-with-cxx option (default: no) to compile GDB > and GDBserver with a C++ compiler, keeping the support for > building with a C compiler. > > - Modify GDB and GDBserver so they can be compiled in C++ mode, > using G++'s '-fpermissive' option as shortcut. > > - Split the TRY_CATCH macro into TRY/CATCH macros to better map to > C++'s 'throw'/'try...catch' in C++ mode, and eliminate all the > volatile gdb_exception objects. To be clear, according to the transition plan on wiki, once this patch set is pushed in, we'll be at step 8.1, except that step 6 is not needed, and step 1 and 5 are skipped. Is it a correct understanding? -- Yao (齐尧)