From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Guy Offer via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51894: 27.2; GDB Gud support on Cygwin has trouble accessing shared files on Windows network drives. Date: Wed, 17 Nov 2021 14:00:39 +0000 Message-ID: <1110db48db9540d8a33bdf9117fa24ae@checkpoint.com> References: <522fd31d7bfc4c6b93d1eee254fa1218@checkpoint.com> <83fsrw166y.fsf@gnu.org> Reply-To: Guy Offer Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18678"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "51894@debbugs.gnu.org" <51894@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 17 15:01:34 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mnLVF-0004eW-HN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 15:01:33 +0100 Original-Received: from localhost ([::1]:47544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnLVE-0007IM-8L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Nov 2021 09:01:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnLUl-0007Gg-3f for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 09:01:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnLUk-0001Uz-Oz for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 09:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mnLUk-0001pk-No for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2021 09:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Guy Offer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Nov 2021 14:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51894-submit@debbugs.gnu.org id=B51894.16371576557017 (code B ref 51894); Wed, 17 Nov 2021 14:01:02 +0000 Original-Received: (at 51894) by debbugs.gnu.org; 17 Nov 2021 14:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:60468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnLUc-0001p6-Ql for submit@debbugs.gnu.org; Wed, 17 Nov 2021 09:00:55 -0500 Original-Received: from michael.checkpoint.com ([194.29.34.68]:53970 helo=smtp.checkpoint.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnLUY-0001om-SI for 51894@debbugs.gnu.org; Wed, 17 Nov 2021 09:00:53 -0500 x-m-msg: CPCHECK DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.checkpoint.com 1AHE0jM8006542 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=checkpoint.com; s=default; t=1637157646; bh=+nA2ULjY25OMIejEW77xnflvfHXmqcocj9nAatvu/sE=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=YySMCXnNvdyhT321bi94Pve7DLRUT+4MtktqG0jcLK12Q0SIVZgipUEtjP9EPp0wf ZbhE6H1LHu65S58OjRi9ESxzINl7xpAiUi/2yC7NMFja/0O+iZHwNTh/VZ+TwFXLYM +nxoPmTsfIPjfqyfKpK5dpvbL3znBRkhk4ZZoE5c= Original-Received: from ilp-tlv-ex01.ad.checkpoint.com (ilp-tlv-ex01.ad.checkpoint.com [194.29.34.171]) by smtp.checkpoint.com (8.14.7/8.14.7) with ESMTP id 1AHE0jM8006542; Wed, 17 Nov 2021 16:00:45 +0200 Original-Received: from ilp-tlv-ex02.ad.checkpoint.com (194.29.34.172) by ilp-tlv-ex01.ad.checkpoint.com (194.29.34.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Wed, 17 Nov 2021 16:00:39 +0200 Original-Received: from ilp-tlv-ex02.ad.checkpoint.com ([fe80::3de2:257a:40ba:51ad]) by ilp-tlv-ex02.ad.checkpoint.com ([fe80::3de2:257a:40ba:51ad%6]) with mapi id 15.01.2375.007; Wed, 17 Nov 2021 16:00:39 +0200 Thread-Topic: bug#51894: 27.2; GDB Gud support on Cygwin has trouble accessing shared files on Windows network drives. Thread-Index: Adfay1ESiUfQqo4aRYeuzzs4YFnEUQAMmpgUAC8es7A= In-Reply-To: <83fsrw166y.fsf@gnu.org> Accept-Language: en-US Content-Language: en-US x-originating-ip: [194.29.34.56] x-cpdlp: 113c48ba457b93a646103b22cc07a2b70ac951fa1a X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220202 Archived-At: This GDB was configured as follows: configure --host=3Dx86_64-pc-cygwin --target=3Dx86_64-redhat-linux-gnu --with-auto-load-dir=3D$debugdir:$datadir/auto-load --with-auto-load-safe-path=3D$debugdir:$datadir/auto-load --with-expat --with-gdb-datadir=3D/usr/local/share/gdb (relocatable) --with-jit-reader-dir=3D/usr/local/lib/gdb (relocatable) --without-libunwind-ia64 --without-lzma --without-babeltrace --without-intel-pt --without-mpfr --without-xxhash --without-python --without-python-libdir --without-debuginfod --without-guile --disable-source-highlight --with-separate-debug-dir=3D/usr/local/lib/debug (relocatable) Regarding Emacs GDB support: Emacs has UI support for GDB (GUD GDB) which c= an display code source in Emacs buffers.=20 ("Relocatable" means the directory can be moved with the GDB installation tree, and GDB will still find it.) -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org]=20 Sent: Tuesday, 16 November 2021 17:17 To: Guy Offer Cc: 51894@debbugs.gnu.org Subject: Re: bug#51894: 27.2; GDB Gud support on Cygwin has trouble accessi= ng shared files on Windows network drives. > Date: Tue, 16 Nov 2021 09:22:26 +0000 > From: Guy Offer via "Bug reports for GNU Emacs, the Swiss army knife=20 > of text editors" >=20 > Working on Cygwin Emacs when source code is located on Windows 10=20 > network drives (e.g. Windows F: drive points to \\fileserver\soruce)=20 > and accessed by gdb using \cygdrive\f\source\.. the Emacs gdb support=20 > cannot find the file. >=20 > File can only be find by the Emacs GDB support if the source path=20 > begins with double slash (e.g,, \\cygdrive\f\source\...). However in=20 > this case it cannot be found by the gud gdb window. > To overcome this source mounts should be done directly from the Cygwin=20 > (using mount) and not through the Windows 10 drives (\cygdrive\...). Please show what does the GDB you are using display when you type this: $ gdb --config Also, when you say "the Emacs gdb support cannot find the file", what do yo= u mean by "Emacs gdb support"? Thanks. Secured by Check Point ________________________________ Report suspicious email ________________________________