From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97716 invoked by alias); 27 Sep 2016 04:48:34 -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 97601 invoked by uid 89); 27 Sep 2016 04:48:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=his X-HELO: gproxy9-pub.mail.unifiedlayer.com Received: from gproxy9-pub.mail.unifiedlayer.com (HELO gproxy9-pub.mail.unifiedlayer.com) (69.89.20.122) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with SMTP; Tue, 27 Sep 2016 04:48:09 +0000 Received: (qmail 15500 invoked by uid 0); 27 Sep 2016 04:48:05 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy9.mail.unifiedlayer.com with SMTP; 27 Sep 2016 04:48:05 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id oUo21t00b2f2jeq01Uo52h; Mon, 26 Sep 2016 22:48:05 -0600 X-Authority-Analysis: v=2.1 cv=aaryw3Yt c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=GW1xBdLrtEIA:10 a=iZzp3H2MVZfh4ktY2jEA:9 Received: from 71-218-192-86.hlrn.qwest.net ([71.218.192.86]:56110 helo=bapiya.Home) by box522.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_1) (envelope-from ) id 1bojhM-0006Nj-E1 for gdb-patches@sourceware.org; Mon, 26 Sep 2016 22:08:52 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [RFA 00/22] More C++-ification Date: Tue, 27 Sep 2016 04:49:00 -0000 Message-Id: <1474949330-4307-1-git-send-email-tom@tromey.com> X-BWhitelist: no X-Exim-ID: 1bojhM-0006Nj-E1 X-Source-Sender: 71-218-192-86.hlrn.qwest.net (bapiya.Home) [71.218.192.86]:56110 X-Source-Auth: tom+tromey.com X-Email-Count: 23 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTIyLmJsdWVob3N0LmNvbQ== X-SW-Source: 2016-09/txt/msg00352.txt.bz2 This patch series converts more random parts of gdb to C++. Some of these patches get rid of cleanups, or convert them to RAII. In a couple of cases, after removing cleanups I went further and converted a given class more fully to C++. There's also one random patch to convert an iterator to a C++ class using RAII. I didn't touch any spot where the cleanup removal would have benefited from unique_ptr; Pedro has a branch with the needed bits there, and I wanted to avoid conflicts with his work. This was built and regtested on x86-64 Fedora 24. I've appended the differences between the baseline run and the run with this series in place. I don't know whether these represent real regressions or are just intermittent test failures; particularly because the missing tests are either FAIL or KFAIL. Tom Missing tests: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited (memory error): KFAIL gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited (prompt): KFAIL gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited (prompt): KFAIL gdb.threads/watchpoint-fork.exp: child: multithreaded: breakpoint (A) after the second fork: FAIL New tests: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited (memory error): KFAIL gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited (memory error): KFAIL