From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96955 invoked by alias); 19 Sep 2019 00:49:45 -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 96870 invoked by uid 89); 19 Sep 2019 00:49:34 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:467 X-HELO: mail-pl1-f173.google.com Received: from mail-pl1-f173.google.com (HELO mail-pl1-f173.google.com) (209.85.214.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 19 Sep 2019 00:49:32 +0000 Received: by mail-pl1-f173.google.com with SMTP id s17so770062plp.2; Wed, 18 Sep 2019 17:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=A1MOLCEREYcAn+O6q67LCXXFvuw+JytyBn6cDmukjfk=; b=ltgHRq6457smWUnls+lWhM65REzMDpn47ed2Bahy1wkibZB0CUBNWpjK35MQLIqPnS MwP9w/K6Y04rOix+Vxhj8MYQZISML0uBk4WLMau2TjZ5epPKqamQgyMSBTCr070ztoJ9 NN7n7xsILFuUpGL/hT0X46ZZomeLQBMLCkfs/AxFY+/p+lW1R0uClvLgMazUg+v0awdp XohQH6LIh9KhVWmkR32GuVN+Jphu8gm7hN6s++HLk8ksg/4t6ooZoZwmiCaXDUQonnGR OPPfpwmbQ1dkD2PrWhNERG9X3ZMLloCe6GakSfGIroCEye+L2OFFcxs2YzZwqkFgvv9b xKYA== Return-Path: Received: from bubble.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id n66sm14143017pfn.90.2019.09.18.17.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Sep 2019 17:49:30 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 6AD44804DB; Thu, 19 Sep 2019 10:19:26 +0930 (ACST) Date: Thu, 19 Sep 2019 00:49:00 -0000 From: Alan Modra To: Andrew Burgess Cc: binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: bfd_section_* macros Message-ID: <20190919004926.GN3685@bubble.grove.modra.org> References: <20190918141437.GJ3685@bubble.grove.modra.org> <20190918151948.GB4962@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190918151948.GB4962@embecosm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-SW-Source: 2019-09/txt/msg00356.txt.bz2 On Wed, Sep 18, 2019 at 11:19:48AM -0400, Andrew Burgess wrote: > I took a look through the GDB parts of this patch, and it all looks > good to me. This feels like a nice cleanup. Thanks! Now committed. And yes, it cleaned up things like the following in gdb/symfile.c. ;-) - lower_offset = bfd_section_vma (bfd_get_filename (abfd), lower_sect); + lower_offset = bfd_section_vma (lower_sect); -- Alan Modra Australia Development Lab, IBM