From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23822 invoked by alias); 18 Nov 2017 21:46:15 -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 23778 invoked by uid 89); 18 Nov 2017 21:46:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=BAYES_00,GIT_PATCH_2,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=H*r:sk:barracu, varobj, Hx-languages-length:578 X-HELO: barracuda.ebox.ca Received: from barracuda.ebox.ca (HELO barracuda.ebox.ca) (96.127.255.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 18 Nov 2017 21:46:12 +0000 X-ASG-Debug-ID: 1511041568-0c856e65d43bf3300001-fS2M51 Received: from smtp.electronicbox.net (smtp.electronicbox.net [96.127.255.82]) by barracuda.ebox.ca with ESMTP id 71u10R1ZshHQu64B (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 18 Nov 2017 16:46:08 -0500 (EST) X-Barracuda-Envelope-From: simon.marchi@polymtl.ca X-Barracuda-RBL-Trusted-Forwarder: 96.127.255.82 Received: from simark.lan (192-222-251-162.qc.cable.ebox.net [192.222.251.162]) by smtp.electronicbox.net (Postfix) with ESMTP id EB980441D83; Sat, 18 Nov 2017 16:46:07 -0500 (EST) From: Simon Marchi X-Barracuda-Effective-Source-IP: 192-222-251-162.qc.cable.ebox.net[192.222.251.162] X-Barracuda-Apparent-Source-IP: 192.222.251.162 X-Barracuda-RBL-IP: 192.222.251.162 To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 0/4] C++ify varobj a little bit Date: Sat, 18 Nov 2017 21:46:00 -0000 X-ASG-Orig-Subj: [PATCH 0/4] C++ify varobj a little bit Message-Id: <20171118214606.24468-1-simon.marchi@polymtl.ca> X-Barracuda-Connect: smtp.electronicbox.net[96.127.255.82] X-Barracuda-Start-Time: 1511041568 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://96.127.255.19:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 593 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=8.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.44999 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00379.txt.bz2 This patch series does a basic C++ification of the varobj code, enough to get rid of the VECs. It looks regression free according to the buildbot. Simon Marchi (4): Basic c++ification of varobj Make varobj::children an std::vector Replace VEC (varobj_update_result) with std::vector Remove DEF_VEC_P (varobj_p) gdb/ada-varobj.c | 5 +- gdb/mi/mi-cmd-var.c | 62 ++++----- gdb/varobj.c | 362 ++++++++++++++++++---------------------------------- gdb/varobj.h | 67 +++++----- 4 files changed, 189 insertions(+), 307 deletions(-) -- 2.15.0