From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69196 invoked by alias); 19 Sep 2019 21:28:32 -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 69130 invoked by uid 89); 19 Sep 2019 21:28:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: gateway20.websitewelcome.com Received: from gateway20.websitewelcome.com (HELO gateway20.websitewelcome.com) (192.185.65.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Sep 2019 21:28:31 +0000 Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 19159400E68AF for ; Thu, 19 Sep 2019 15:22:19 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id B3yViMdzW4FKpB3yViMZb9; Thu, 19 Sep 2019 16:28:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3pc6vs/jpZE8ktiOOqMPR+K1dgjPzUYmj6JqFvVBrSY=; b=My67v3HjBupkLNpCowUJpkkPpS hbz622/k8pGZvCRXj0ATfwUSNs6NP9UQxuyQS8yS1LPFOmE3V9TerGHfxBvt5SKOj6MefBarBE4uA hTKf/CHtb7Y8UPrSxOgun3J05; Received: from 71-218-73-27.hlrn.qwest.net ([71.218.73.27]:35244 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iB3yV-001n6D-Ld for gdb-patches@sourceware.org; Thu, 19 Sep 2019 16:28:27 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH 0/4] Remove some uses of iterate_over_inferiors Date: Thu, 19 Sep 2019 21:28:00 -0000 Message-Id: <20190919212825.7586-1-tom@tromey.com> X-SW-Source: 2019-09/txt/msg00381.txt.bz2 This series removes some uses of iterate_over_inferiors in favor of foreach-style iteration. I find the latter simpler both to debug and to read. There are more instances of iterate_over_inferiors, and other iterate_over_* functions -- this series is just a starter to see whether others agree, so let me know what you think. Tested on x86-64 Fedora by the buildbot. Tom