From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4011 invoked by alias); 25 Jul 2017 21:03:18 -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 2664 invoked by uid 89); 25 Jul 2017 21:03:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=Hx-languages-length:457, plays X-HELO: userp1040.oracle.com Received: from userp1040.oracle.com (HELO userp1040.oracle.com) (156.151.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Jul 2017 21:03:16 +0000 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v6PL36NA002110 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Jul 2017 21:03:06 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v6PL35Qk027206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Jul 2017 21:03:05 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v6PL34T8013282; Tue, 25 Jul 2017 21:03:05 GMT Received: from termi.oracle.com (/10.175.202.231) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 25 Jul 2017 14:03:04 -0700 From: jose.marchesi@oracle.com (Jose E. Marchesi) To: Simon Marchi Cc: Weimin Pan , qiyaoltc@gmail.com, gdb-patches@sourceware.org Subject: Re: [PATCH v4] gdb: ADI support References: <46b97822-c3a8-4ed7-ab1c-fa0a932d4007@default> Date: Tue, 25 Jul 2017 21:03:00 -0000 In-Reply-To: (Simon Marchi's message of "Tue, 25 Jul 2017 22:17:41 +0200") Message-ID: <87o9s8fcvx.fsf@oracle.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00401.txt.bz2 Also, for some time we have been moving slowly but surely towards RAII for managing memory (and other resources). In my opinion, it has helped a lot to clean up some parts of the code, and using C++ containers plays a big role in that. I think it makes sense that we try to aim for that in the new code, otherwise it's just more things we'll need to change in the future. Indeed this makes sense. Thanks for clarifying :)