From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic304-22.consmr.mail.ir2.yahoo.com (sonic304-22.consmr.mail.ir2.yahoo.com [77.238.179.147]) by sourceware.org (Postfix) with ESMTPS id 3D3F7394848D for ; Tue, 26 May 2020 16:40:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3D3F7394848D X-YMail-OSG: VdrigToVM1mQ2gKRXryANSG5P1YQO3NQRpwkvUe.W54rTvFYmXm449O.iM_waF2 rKzzyGo8WjGxM_UXrd2XV7Tnz98URdn0o2n.nyu9lEnJyzUYc2XKLK5wyhAOGdpXwGyoqGmqvuc4 _m9W1JdwH7vp8i.w6fROml3YUwtcKTBPd9HQ0GT6kQ419kDUlhK29yPtdHqNZoH10ZHLPQzlyXKN kcYpqfP8n5cBSjBCFEqaYf4IrRlbAI5rICfQSjvhOPNFKNqnA8XgPQ1cNcOM0BE.rEm_KtQmyLrk .Jjrg6JNbvA_oOXUlDR1Q4LIrIAekPLCBlCbyZFg_6woQYpBBW8QFbSOdN0Fz0zdrVqWuSDQ9Jqe 1_Kq.PyrMTUO_xdSj6TLslHx7ramaPA79TFzqnQLjPOkzV1wBg3EbIM9IGBXezdBZBWHTwCXXjSV Yu7XylG8PnW_oAgQHBXIA8jRaXnjpRSjZLIdtSzXGBIb.h7ZkSPmN9bC42Ae5FnbCfi_CAp2jHrz 1FTNU_jMDTCFk3BgZ4M6Ut4RGm8WVKqxjjMcoaV1IK7c0UxlM9lMUG3stQlNjhN3xcOkihc5LnpR 10nJ14bF04hNQSKx0bPJQZIM6R7jXw5dQKoVO0JKWfNrLXhKX5xJv2dTd2F1OAikb2EFe78Riw4U Aq7ewjdc6zD7z3GagDHA8MwxWudPk.zzdDssGZU1RlqvChfMs.FKJHAkqjWZNU2WlIvPew0XkqzK rMEdXf_i9E_V7dDUnste0LxIg4SarD0Mlm1dFDQO7I4OxMRo0m6dAvXn91bFEPiz6W7f39Jj8i_D Qt7lmLpsQX.4SDfCLEnpnQXMsyYOcMC1XSQgdxmQNRHgjzj8y62ZEcy6hTPBw6_HWhjCODFeT5Zp KzA9pEVtWYkiPP.bjCvGnBk3BC0Y93ZHPZJn1hqevqmtZ8_oBPn6_8BrqJBW5YTi.tpTTsq9Yicd 165s5Izs4M9TGuHLXlHPmsY1OCVWNzexqrGuOm9nc2RVsCG6EFeBI93S8YHy_nHAxhe9UcwXlbE8 uFMvZX0QjttthTYyV0_aQ.e0SkRUnzgpbQyBWdzKgZA9hKii1J1YTu9MX652LJ1BTEQrPYCWjFDc RjlPyiuE4UGaMAWYOqTlcG9NSSAjYEnBy16VXRmTVoSvHOv.BkUhgCInaGZ.u3KgqZdMvt2_oLJ. ajkJiy4QIB9dYGn.jCpatgWZN45j9kEvFWsUx5tE3vHRJ0.1rYqrBitFi2dsbva_Eh1xxDf1b9d_ xUL0XHF8F9q9lTxVuVJOGh2f7Vptl.XzgWGxC5klYUK40LNN5CQ6Exth201JACDkI21amh6W9IQY pQyUMnEQqlQ5R0EgdG9hxOg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Tue, 26 May 2020 16:40:23 +0000 Date: Tue, 26 May 2020 16:40:19 +0000 (UTC) From: Hannes Domani To: Gdb-patches Message-ID: <14363667.6758276.1590511219831@mail.yahoo.com> In-Reply-To: References: <20200525185659.59346-1-ssbssa@yahoo.de> <20200525185659.59346-3-ssbssa@yahoo.de> <1075658620.6710595.1590510315144@mail.yahoo.com> Subject: Re: [PATCH 2/7] Handle Windows drives in auto-load script paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.15960 YMailNorrin Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0 X-Spam-Status: No, score=-6.3 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: Tue, 26 May 2020 16:40:25 -0000 Am Dienstag, 26. Mai 2020, 18:32:38 MESZ hat Christian Biesinger Folgendes geschrieben: > On Tue, May 26, 2020 at 11:25 AM Hannes Domani via Gdb-patches > wrote: > > > >=C2=A0 Am Dienstag, 26. Mai 2020, 18:05:57 MESZ hat Christian Biesinger = Folgendes geschrieben: > > > > > On Mon, May 25, 2020 at 1:57 PM Hannes Domani via Gdb-patches > > > wrote: > > > > > > > > Fixes this testsuite fail on Windows: > > > > FAIL: gdb.base/auto-load.exp: print $script_loaded > > > > > > > > Converts the debugfile path from c:/dir/file to /c/dir/file, so it = can be > > > > appended to the auto-load path. > > > > > > How does this work? I thought /c/foo was not supported by either > > > cygwin or mingw? > > > > Yes, but in this case we need a path that can be appended to the variou= s > > entries of 'set auto-load scripts-directory'. > > c:/foo can't be appended, but /c/foo can. > > So you would get something like c:/script/directory/c/foo. > > OK, so I *think* what you're saying is that if you have an objfile > c:\foo\bar.dll, and an auto-load directory c:\load, then with this > patch we will look for an auto-load script in > c:\load\c\foo\bar.dll-gdb.py? Is that right? Basically, yes. > If so, shouldn't there be a documentation update about how this works > on Windows, and possibly a NEWS entry? A news entry that the bug was fixed? >From how I understand gdb.base/auto-load.exp, this is the way it was always supposed to work (did I understand this wrong?). Hannes