From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38394 invoked by alias); 14 Feb 2018 15:03: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 37744 invoked by uid 89); 14 Feb 2018 15:03:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=day X-HELO: gateway31.websitewelcome.com Received: from gateway31.websitewelcome.com (HELO gateway31.websitewelcome.com) (192.185.143.4) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Feb 2018 15:03:42 +0000 Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway31.websitewelcome.com (Postfix) with ESMTP id B0E8DF41E for ; Wed, 14 Feb 2018 09:03:40 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id lyayeOY0cuMnylyaye3uqV; Wed, 14 Feb 2018 09:03:40 -0600 Received: from 174-29-60-18.hlrn.qwest.net ([174.29.60.18]:51398 helo=pokyo) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1elyay-002uVD-Ej; Wed, 14 Feb 2018 09:03:40 -0600 From: Tom Tromey To: Pedro Alves Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: Remove a few more cleanups: solib and openp References: <20180213233907.11259-1-tom@tromey.com> Date: Wed, 14 Feb 2018 15:03:00 -0000 In-Reply-To: (Pedro Alves's message of "Wed, 14 Feb 2018 13:55:35 +0000") Message-ID: <87lgfvsjec.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1elyay-002uVD-Ej X-Source-Sender: 174-29-60-18.hlrn.qwest.net (pokyo) [174.29.60.18]:51398 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-02/txt/msg00201.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> I was wondering whether you'd write patch #1 the other day you Pedro> touched some of that code. :-) What happened is that I did that, it tweaked a memory, and I dug up these patches from a branch I had lying around. Pedro> On that patch, you may want to remove Pedro> the "The returned pathname is malloc'ed and must be freed by the caller." Pedro> remarks from the intro comments of (at least) solib_find_1, Pedro> exec_file_find and solib_find (in solib.c). Will do, thanks. Tom