From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id TbQ2EkW+cWAITgAAWB0awg (envelope-from ) for ; Sat, 10 Apr 2021 11:03:33 -0400 Received: by simark.ca (Postfix, from userid 112) id 3CD111EE1B; Sat, 10 Apr 2021 11:03:33 -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 670E01E54D for ; Sat, 10 Apr 2021 11:03:32 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 04BF3388A428; Sat, 10 Apr 2021 15:03:31 +0000 (GMT) Received: from gateway20.websitewelcome.com (gateway20.websitewelcome.com [192.185.60.19]) by sourceware.org (Postfix) with ESMTPS id C2DAB3886C78 for ; Sat, 10 Apr 2021 15:03:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C2DAB3886C78 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 gateway20.websitewelcome.com (Postfix) with ESMTP id A31B6400D1C81 for ; Sat, 10 Apr 2021 09:52:57 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id VF8xlf5wuw11MVF8xlJByY; Sat, 10 Apr 2021 10:03:27 -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=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mNIsEFnj2UwAR1Bl03punqXBIboH7AxEbkxdHgijYWQ=; b=R8jDp/kYDkasdyeoCTwEeQ2MkR pL1EpB4aaD/t7dXGyA4YR/Dk8e+MC4adWtJiN7sB7qERKExrq0GM0yDjW0lXAc1xFQ5MwBA9c++hN NmUyA6js9WVW/Kt07sRhztKmR; Received: from 71-211-182-15.hlrn.qwest.net ([71.211.182.15]:60114 helo=localhost.localdomain) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lVF8w-001ATg-Tk; Sat, 10 Apr 2021 09:03:26 -0600 From: Tom Tromey To: Eli Zaretskii via Gdb-patches Subject: Re: Subtle problems with "info sharedlibrary" on MS-Windows References: <83czw7p4nd.fsf@gnu.org> <777379173.1335754.1615393830518@mail.yahoo.com> <83mtvbne96.fsf@gnu.org> <259022839.1083386.1615397702855@mail.yahoo.com> <83y2dwbow6.fsf@gnu.org> <83lf9vbljw.fsf@gnu.org> X-Attribution: Tom Date: Sat, 10 Apr 2021 09:03:26 -0600 In-Reply-To: <83lf9vbljw.fsf@gnu.org> (Eli Zaretskii via Gdb-patches's message of "Tue, 06 Apr 2021 16:16:19 +0300") Message-ID: <87sg3ygp1d.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 71.211.182.15 X-Source-L: No X-Exim-ID: 1lVF8w-001ATg-Tk X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-182-15.hlrn.qwest.net (localhost.localdomain) [71.211.182.15]:60114 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" >>>>> "Eli" == Eli Zaretskii via Gdb-patches writes: Eli> Here's a patch I propose, which completely solves the issue I Eli> described, and is IMO less complex than the code proposed in Bugzilla Eli> (it slightly refactors the existing code in windows_add_all_dlls). I suppose a patch similar to this is needed for gdbserver as well? Unfortunately this is still an area where we haven't yet merged the code between gdbserver/win32-low.cc and gdb/windows-nat.c. To be clear, I think we don't insist on parity here. It's just a nice to have, not a reason to reject a patch. I'm mostly checking in to make sure I'm understanding the situation correctly. Maybe someday we can do the last 20% of this merge so these divergences are harder to come across. thanks, Tom