From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56917 invoked by alias); 1 Dec 2017 17:19: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 56857 invoked by uid 89); 1 Dec 2017 17:19:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Certainly X-HELO: gateway22.websitewelcome.com Received: from gateway22.websitewelcome.com (HELO gateway22.websitewelcome.com) (192.185.47.125) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Dec 2017 17:19:30 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway22.websitewelcome.com (Postfix) with ESMTP id C3E51256EF for ; Fri, 1 Dec 2017 11:15:40 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id KouaeLHvGvkfxKouaezsou; Fri, 01 Dec 2017 11:15:40 -0600 Received: from 71-218-90-63.hlrn.qwest.net ([71.218.90.63]:45224 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eKoua-001QhT-GU; Fri, 01 Dec 2017 11:15:40 -0600 From: Tom Tromey To: Pedro Alves Cc: Sergio Durigan Junior , GDB Patches , Joel Brobecker , Yao Qi , Eli Zaretskii Subject: Re: [PATCH v4] Add support for the readnever concept References: <1467838463-15786-1-git-send-email-brobecker@adacore.com> <20171130002529.10592-1-sergiodj@redhat.com> <6765d36f-8603-9cd3-0476-801a5bfe0865@redhat.com> <87shcvgj55.fsf@redhat.com> Date: Fri, 01 Dec 2017 17:19:00 -0000 In-Reply-To: (Pedro Alves's message of "Fri, 1 Dec 2017 12:43:06 +0000") Message-ID: <87mv325pz8.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1eKoua-001QhT-GU X-Source-Sender: 71-218-90-63.hlrn.qwest.net (pokyo) [71.218.90.63]:45224 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2017-12/txt/msg00026.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> On 12/01/2017 04:35 AM, Sergio Durigan Junior wrote: >>> If readnever_symbol_files is set, then it'll have been propagated to objfile-> flags before we get here, no? >> >> Hm, I think so, yes. I mean, assuming that objfile != NULL when we call >> the readers, then yes; Pedro> Certainly you can assume that. A reader's job is to read Pedro> in the passed in objfile. The very first line of elf_symfile_read Pedro> would immediately crash otherwise, for example. Perhaps an ATTRIBUTE_NONNULL is in order somewhere. Tom