From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic312-26.consmr.mail.ir2.yahoo.com (sonic312-26.consmr.mail.ir2.yahoo.com [77.238.178.97]) by sourceware.org (Postfix) with ESMTPS id 7F5C2385E006 for ; Thu, 26 Mar 2020 20:49:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7F5C2385E006 X-YMail-OSG: WBCWtToVM1kaa34YeXAYfTveYrUDyvFyBLLGZIQ7D6FwU4XhcvMkulP0czgYTRK c0XHxMqTFI.6_V60H7fSj4Z1Nn5DBHkV1aQ7HdCeLa95rx83wng2sTGmYVCIriZMtIcz.vRujcA2 wVVDqq.dO2fhSaRY0n3_Teq.8qebYIc9Te0jX5Af9uIOi.EeTky7BO2udFiPIZQCbDfskRzN8clt Wqf31rToBvvOBaH_G2Y3aJXy_0gLuLtgQIkaV632M9bbOGAKpLx9tMxY_35kvIuuvlGW.O3GucM0 eZ1g5DMTGP_5.vcLKqIvyeKTWDEReRYBL2Cqh2YKeYke9smIarUBoMvrlivX1.VLpfqewgcAUNYM JdeTkO8FC.lk4hqAhA6s7runGmQXLstXiwU_plDTN0s68UYlAWxaMz83lQyDiC.zJ5Izoct5NLgT o9_KB5DThnxUBS0efj6L.X2OvNkdjK7EnNpwXarKUs_fjsFACE8Q5CoGeD_S8kXyibP8dhMV6xS3 Zmq23AODM35sdsMJxh5tGBX8YJXNYWfH6Pli5KFKBxtTLgpFM.A.S14FOvp0RN51sjH47usDR26b c01tZJwFevL0nb7TY2eroI_aqVAylhI3xr3l8ABlAYKyBcntBdxJWM8Jh4jEGcUUtwsvlUkqUhs6 RRteAPoHOTBAVZnIkd9x022dnhoSjf6TL9dNf7unRcCpfH3jEkaBQ1jNNDzinsjWOTgzEqBvZhbu BXznrTazPMH5DSnw6wpMoSF2C9ivekXlLIJcTM5U9EdUyqF3g6a2RgZzkwnVuHeOz2TC9ightwFE yE3Dg62PlSbwsRvAor1NEssLEqvjq6NQo5TpHXIYv2YYTEv5xBZ5eLX1Ek4fw2.usGcrB1kR82oJ Nj5i6jtoXXsg40fAQpJFzVkXZrMEvzIdrAzN1iId3H3kSYGW6HMCZeCvptXVgoJHC9jm56s27HNf gdmQNnF3sqWUeB8YA0qKtNwQmh2bfj6rVY_beQZx6lqVrJRWrGkixv0PzOMxmtTi4luKs_vuoswC Zi2ZMRLGi78rZKWTuIs_zSjySi3362EpUg_wmb_dDzVSV429dnz_h93yG6DPPFfThTO0lzwYsTrY ydMHfOJroOgfp_XVL112VaEtddiunYwd.qM.np.F6hATZnI6Ow0pQPC0tH_oOJNQZrPjOgxUXS5D JXRkuQBisIMogxAYpLZsnABDszlXtApkFxiewORgjkw_totQCcFXotM9Di.gFpfFAIlfXDplj02j w0p5EVSLb9PEI2.mqxfJ_xnL2dFHGoWYAMhueUNN_j5DLPKl.hf6nUlLDkTwfP5OdNf_lgs5bWvj y2QeDzIyEpmXsFz6zncR3fBfgRbzAoMeYMpzlDvL998o6TqKLfOTg1KhbH4ETMiOY408RZb2tlk. Ivp.nrnxatoBOS04hXren4wc- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ir2.yahoo.com with HTTP; Thu, 26 Mar 2020 20:49:15 +0000 Date: Thu, 26 Mar 2020 20:48:35 +0000 (UTC) From: Hannes Domani To: Gdb-patches Message-ID: <1525100081.5445433.1585255715401@mail.yahoo.com> In-Reply-To: References: <20200324192351.3904-1-ssbssa.ref@yahoo.de> <20200324192351.3904-1-ssbssa@yahoo.de> <6fcfc7b1-5b1d-1bca-5bd8-06b075d626e6@simark.ca> <840438313.3764470.1585146130281@mail.yahoo.com> <1d7bb2df-1f3e-9ff7-ea38-05db350192d2@simark.ca> <30076034.3775038.1585146951973@mail.yahoo.com> <831rpf9bol.fsf@gnu.org> <692595410.5392254.1585254931564@mail.yahoo.com> Subject: Re: [PATCH v2] Fix WOW64 process system DLL paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.15518 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Thu, 26 Mar 2020 20:49:17 -0000 Am Donnerstag, 26. M=C3=A4rz 2020, 21:39:27 MEZ hat Christian Biesinger Folgendes geschrieben: > On Thu, Mar 26, 2020 at 3:35 PM Hannes Domani via Gdb-patches > > wrote: > > > >=C2=A0 Am Donnerstag, 26. M=C3=A4rz 2020, 20:26:14 MEZ hat Eli Zaretskii= Folgendes geschrieben: > > > > > > Date: Wed, 25 Mar 2020 14:35:51 +0000 (UTC) > > > > > > > From: Hannes Domani via Gdb-patches > > > > > > > > > > But I figured my way with GetSystemWow64Directory is simpler. > > > > > > > > > > > > > > > > > > Is the v2 OK to commit? > > > > > > > > > > Yes, thanks. > > > > > > > > Pushed, thanks. > > > > > > > > > It looks like the same problem exists in the 32-bit Windows build of > > > GDB, when it runs on 64-bit Windows 10: "info sharedlibrary" shows > > > C:\Windows\system32 instead of C:\Windows\SysWOW64 (it doesn't happen > > > on 64-bit Windows 7, for example).=C2=A0 So I guess the code which re= places > > > the former with the latter should also be in the 32-bit build, not > > > just "#ifdef __x86_64__". > > > > Yes, for me (on Win7) it also happens with the same dlls in the 32-bit = gdb > > as with the 64-bit gdb. > > But it shouldn't matter, since for 32-bit gdb all C:\Windows\system32 p= aths > > are automatically redirected[1] to C:\Windows\SysWOW64 anyways. > > > > [1] https://docs.microsoft.com/en-us/windows/win32/winprog64/file-syste= m-redirector > > > Even so, it's probably less confusing for the user if what GDB > displays actually matches reality? I guess you are right. I will prepare a patch for this. Hannes