From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id zsdoIMUIjl9yRwAAWB0awg (envelope-from ) for ; Mon, 19 Oct 2020 17:44:37 -0400 Received: by simark.ca (Postfix, from userid 112) id 6DAD31EFC1; Mon, 19 Oct 2020 17:44:37 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9518A1E58E for ; Mon, 19 Oct 2020 17:44:36 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C680D388EC06; Mon, 19 Oct 2020 21:44:35 +0000 (GMT) Received: from gateway32.websitewelcome.com (gateway32.websitewelcome.com [192.185.145.111]) by sourceware.org (Postfix) with ESMTPS id 0B5583850409 for ; Mon, 19 Oct 2020 21:44:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0B5583850409 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=tom@tromey.com Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 69C815B0F8 for ; Mon, 19 Oct 2020 16:44:32 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id UcxEkUx9iBD8bUcxEkRu8P; Mon, 19 Oct 2020 16:44:32 -0500 X-Authority-Reason: nr=8 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=aY3IbRHKGNRX5PQn8eNLxKffuzB97jDbjhOnIAi/eHo=; b=uE2H8L4RJN5t7+f6rjUgZXtzQl +YditreC21ZciDPvJVi0NV+56BFMkD/2qXDG6Rtdo7IIw/akaM0gcdyCrJSMWX0sq5C1dacehMpEG L2uNzc8oxszcZpaID5rWY1CuY; Received: from 75-166-102-113.hlrn.qwest.net ([75.166.102.113]:45712 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kUcxE-004Oci-4R for gdb-patches@sourceware.org; Mon, 19 Oct 2020 15:44:32 -0600 From: Tom Tromey To: gdb-patches@sourceware.org Subject: [PATCH v2 00/16] Remove some macros from exec.h and progspace.h Date: Mon, 19 Oct 2020 15:44:13 -0600 Message-Id: <20201019214429.13815-1-tom@tromey.com> X-Mailer: git-send-email 2.17.2 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.102.113 X-Source-L: No X-Exim-ID: 1kUcxE-004Oci-4R X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-102-113.hlrn.qwest.net (bapiya.Home) [75.166.102.113]:45712 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" This is version 2 of the series to remove the remaining object-like macros from exec.h and progspace.h. Version 1 of the series is here https://sourceware.org/pipermail/gdb-patches/2020-July/170704.html This version corrects the review comments, and adds a few more patches to do so. Now some "target section"-related functions are methods on program_space, removing uses of current_program_space and making the code simpler (IMO) to reason about Regression tested on x86-64 Fedora 28. Let me know what you think. Tom