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: Tue, 16 Nov 2021 09:22:26 +0000 Message-ID: <522fd31d7bfc4c6b93d1eee254fa1218@checkpoint.com> Reply-To: Guy Offer Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_522fd31d7bfc4c6b93d1eee254fa1218checkpointcom_" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19013"; mail-complaints-to="usenet@ciao.gmane.io" To: 51894@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 16 15:28:38 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 1mmzRt-0004fo-Vi for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 15:28:38 +0100 Original-Received: from localhost ([::1]:44078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmzRs-0008Oy-7I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Nov 2021 09:28:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmzRL-0008FL-0v for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 09:28:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46041) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmzRK-0004QB-PP for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 09:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmzRK-0000Fn-LP for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 09:28: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: Tue, 16 Nov 2021 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51894 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.1637072836828 (code B ref -1); Tue, 16 Nov 2021 14:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Nov 2021 14:27:16 +0000 Original-Received: from localhost ([127.0.0.1]:57583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmzQX-0000D6-SR for submit@debbugs.gnu.org; Tue, 16 Nov 2021 09:27:15 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:47700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmuhT-0001zu-Tg for submit@debbugs.gnu.org; Tue, 16 Nov 2021 04:24:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmuhS-0003DF-8z for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 04:24:23 -0500 Original-Received: from michael.checkpoint.com ([194.29.34.68]:49726 helo=smtp.checkpoint.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmuhE-00006O-6i for bug-gnu-emacs@gnu.org; Tue, 16 Nov 2021 04:24:11 -0500 x-m-msg: CPCHECK DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.checkpoint.com 1AG9MWEF015625 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=checkpoint.com; s=default; t=1637054552; bh=4G5WPOI1Rk6hHjwAl8PLSSw4Vi88n/bgam8XVmSPbnw=; h=From:To:Subject:Date:From; b=GGPCzxolrGqQ1YjPw5fOsixLOShaYic1qIQ1lFUrf1I5560JJUZImjnVFeBh5bZg2 IibZbPvErWsBVZzhkrwp6vaDfmgJiGA3SzVEUhyeZ4jJgmRTzL4OyN+U3M9ZlwDYvA EBDo5cH6ER8g0P3T5ZwVwez5UgF31Jl1GzuPpqvU= Original-Received: from ilp-tlv-ex03.ad.checkpoint.com (ilp-tlv-ex03.ad.checkpoint.com [194.29.34.164]) by smtp.checkpoint.com (8.14.7/8.14.7) with ESMTP id 1AG9MWEF015625 for ; Tue, 16 Nov 2021 11:22:32 +0200 Original-Received: from ilp-tlv-ex02.ad.checkpoint.com (194.29.34.172) by ilp-tlv-ex03.ad.checkpoint.com (194.29.34.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.7; Tue, 16 Nov 2021 11:22:27 +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.2308.008; Tue, 16 Nov 2021 11:22:27 +0200 Thread-Topic: 27.2; GDB Gud support on Cygwin has trouble accessing shared files on Windows network drives. Thread-Index: Adfay1ESiUfQqo4aRYeuzzs4YFnEUQ== Accept-Language: en-US Content-Language: en-US x-originating-ip: [194.29.34.56] x-cpdlp: 11e74dbf67b29a7f943f04182722577fcad66a81e6 Received-SPF: pass client-ip=194.29.34.68; envelope-from=guyof@checkpoint.com; helo=smtp.checkpoint.com X-Spam_score_int: -70 X-Spam_score: -7.1 X-Spam_bar: ------- X-Spam_report: (-7.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 16 Nov 2021 09:27:11 -0500 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:220123 Archived-At: --_000_522fd31d7bfc4c6b93d1eee254fa1218checkpointcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable --text follows this line-- Working on Cygwin Emacs when source code is located on Windows 10 network drives (e.g. Windows F: drive points to \\fileserver\soruce) and ac= cessed by gdb using \cygdrive\f\source\.. the Emacs gdb support cannot find the file. File can only be find by the Emacs GDB support if the source path begins wi= th double slash (e.g,, \\cygdrive\f\source\...). However in this case it cannot be found by the gud gdb window. To overcome this source mounts should be done directly from the Cygwin (usi= ng mount) and not through the Windows 10 drives (\cygdrive\...). In GNU Emacs 27.2 (build 1, x86_64-pc-cygwin, X toolkit, Xaw3d scroll bars) of 2021-03-26 built on moufang2 Repository revision: 5a2c58d08c59ce5a7afb6511cc99f722f426c12b Repository branch: master Windowing system distributor 'The Cygwin/X Project', version 11.0.12012000 Recent messages: (No changes need to be saved) elisp--preceding-sexp: End of file during parsing Saving file /cygdrive/c/Temp/cmd3... Wrote /cygdrive/c/Temp/cmd3 (No changes need to be saved) [3 times] Undefined command: "exit". Try "help". Switched to thread 1 Mark set Target doesn't support non-stop mode. Turning it off. Mark set [8 times] Configured using: 'configure --srcdir=3D/home/kbrown/src/cygpackages/emacs/emacs-27.2-1.x86_64/src/emacs= -27.2 --prefix=3D/usr --exec-prefix=3D/usr --localstatedir=3D/var --sysconfdir=3D= /etc --docdir=3D/usr/share/doc/emacs --htmldir=3D/usr/share/doc/emacs/html -C --with-x-toolkit=3Dlucid 'CFLAGS=3D-ggdb -O2 -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -fdebug-prefix-map=3D/home/kbrown/src/cygpackages/emacs/emacs-27.2-1.x86_64= /build=3D/usr/src/debug/emacs-27.2-1 -fdebug-prefix-map=3D/home/kbrown/src/cygpackages/emacs/emacs-27.2-1.x86_64= /src/emacs-27.2=3D/usr/src/debug/emacs-27.2-1' CPPFLAGS=3D LDFLAGS=3D' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS GLIB NOTIFY GFILENOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: gud-tooltip-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t tab-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search mailabbrev gmm-utils mailheader sendmail mail-utils help-fns radix-tree cl-print debug backtrace help-mode mule-util jka-compr info vc-git cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs which-func imenu vc vc-dispatcher tempo srecode soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source url-vars mailcap rng-xsd rng-dt rng-util xsd-regexp xml smerge-mode sieve sieve-mode sieve-manage sasl sasl-anonymous sasl-login sasl-plain password-cache pcvs-defs pcvs-util grep glasses gdb-mi bindat json map gud flymake-proc flymake warnings thingatpt etags fileloop generator xref project emerge elide-head ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util ede/project-am ede/autoconf-edit autoconf autoconf-mode semantic/find ede/makefile-edit make-mode ede/linux semantic/db semantic/util-modes semantic/util semantic pp semantic/tag semantic/lex semantic/fw mode-local find-func ede/make ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base seq eieio-speedbar speedbar sb-image ezimage dframe eieio-custom cl-seq eieio byte-opt bytecomp byte-compile cconv eieio-core cl-macs gv eieio-loaddefs cedet ebrowse ebuff-menu view diff copyright compile comint ansi-color ring compare-w diff-mode easy-mmode check-declare calculator edmacro kmacro add-log time-date subr-x cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib advice tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind gfilenotify lcms2 dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 246697 30355) (symbols 48 21407 1) (strings 32 65711 3822) (string-bytes 1 2120737) (vectors 16 37254) (vector-slots 8 481354 23754) (floats 8 118 220) (intervals 56 3551 198) (buffers 1000 37)) --_000_522fd31d7bfc4c6b93d1eee254fa1218checkpointcom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

--text follows this line--

 

Working on Cygwin Emacs when source code is located = on Windows 10

network drives (e.g. Windows F: drive points to \\fi= leserver\soruce) and accessed

by gdb using \cygdrive\f\source\.. the Emacs gdb sup= port cannot find the

file.

File can only be find by the Emacs GDB support if th= e source path begins with

double slash (e.g,, \\cygdrive\f\source\...).  = However in this case it

cannot be found by the gud gdb window.

To overcome this source mounts should be done direct= ly from the Cygwin (using mount) and not

through the Windows 10 drives (\cygdrive\...). =

 

 

In GNU Emacs 27.2 (build 1, x86_64-pc-cygwin, X tool= kit, Xaw3d scroll bars)

of 2021-03-26 built on moufang2

Repository revision: 5a2c58d08c59ce5a7afb6511cc99f72= 2f426c12b

Repository branch: master

Windowing system distributor 'The Cygwin/X Project',= version 11.0.12012000

Recent messages:

(No changes need to be saved)

elisp--preceding-sexp: End of file during parsing

Saving file /cygdrive/c/Temp/cmd3...

Wrote /cygdrive/c/Temp/cmd3

(No changes need to be saved) [3 times]

Undefined command: "exit".  Try "= ;help".

Switched to thread 1

Mark set

Target doesn’t support non-stop mode.  Tu= rning it off.

Mark set [8 times]

 

Configured using:

'configure

--srcdir=3D/home/kbrown/src/cygpackages/emacs/emacs-= 27.2-1.x86_64/src/emacs-27.2

--prefix=3D/usr --exec-prefix=3D/usr --localstatedir= =3D/var --sysconfdir=3D/etc

--docdir=3D/usr/share/doc/emacs --htmldir=3D/usr/sha= re/doc/emacs/html -C

--with-x-toolkit=3Dlucid 'CFLAGS=3D-ggdb -O2 -pipe -= Wall

-Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2<= o:p>

-fstack-protector-strong --param=3Dssp-buffer-size= =3D4

-fdebug-prefix-map=3D/home/kbrown/src/cygpackages/em= acs/emacs-27.2-1.x86_64/build=3D/usr/src/debug/emacs-27.2-1

-fdebug-prefix-map=3D/home/kbrown/src/cygpackages/em= acs/emacs-27.2-1.x86_64/src/emacs-27.2=3D/usr/src/debug/emacs-27.2-1'<= /o:p>

CPPFLAGS=3D LDFLAGS=3D'

 

Configured features:

XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTING= S GLIB NOTIFY

GFILENOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17= N_FLT LIBOTF XFT

ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES = THREADS JSON PDUMPER

LCMS2 GMP

 

Important settings:

  value of $LC_CTYPE: en_US.UTF-8

  locale-coding-system: utf-8-unix

 

Major mode: Debugger

 

Minor modes in effect:

  gud-tooltip-mode: t

  tooltip-mode: t

  global-eldoc-mode: t

  electric-indent-mode: t

  mouse-wheel-mode: t

  tool-bar-mode: t

  tab-bar-mode: t

  menu-bar-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  font-lock-mode: t

  blink-cursor-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

 line-number-mode: t

  transient-mark-mode: t

 

Load-path shadows:

None found.

 

Features:

(shadow sort mail-extr emacsbug message dired dired-= loaddefs format-spec

rfc822 mml mml-sec epa derived epg epg-config gnus-u= til rmail

rmail-loaddefs text-property-search mailabbrev gmm-u= tils mailheader

sendmail mail-utils help-fns radix-tree cl-print deb= ug backtrace

help-mode mule-util jka-compr info vc-git cc-mode cc= -fonts cc-guess

cc-menus cc-cmds cc-styles cc-align cc-engine cc-var= s cc-defs which-func

imenu vc vc-dispatcher tempo srecode soap-client mm-= decode mm-bodies

mm-encode url-http url-auth mail-parse rfc2231 rfc20= 47 rfc2045 mm-util

ietf-drums mail-prsvr url-gw nsm rmc puny url url-pr= oxy url-privacy

url-expand url-methods url-history url-cookie url-do= msuf url-util

url-parse auth-source url-vars mailcap rng-xsd rng-d= t rng-util

xsd-regexp xml smerge-mode sieve sieve-mode sieve-ma= nage sasl

sasl-anonymous sasl-login sasl-plain password-cache = pcvs-defs pcvs-util

grep glasses gdb-mi bindat json map gud flymake-proc= flymake warnings

thingatpt etags fileloop generator xref project emer= ge elide-head ediff

ediff-merg ediff-mult ediff-wind ediff-diff ediff-he= lp ediff-init

ediff-util ede/project-am ede/autoconf-edit autoconf= autoconf-mode

semantic/find ede/makefile-edit make-mode ede/linux = semantic/db

semantic/util-modes semantic/util semantic pp semant= ic/tag semantic/lex

semantic/fw mode-local find-func ede/make ede/speedb= ar ede/files ede

ede/detect ede/base ede/auto ede/source eieio-base s= eq eieio-speedbar

speedbar sb-image ezimage dframe eieio-custom cl-seq= eieio byte-opt

bytecomp byte-compile cconv eieio-core cl-macs gv ei= eio-loaddefs cedet

ebrowse ebuff-menu view diff copyright compile comin= t ansi-color ring

compare-w diff-mode easy-mmode check-declare calcula= tor edmacro kmacro

add-log time-date subr-x cus-edit easymenu cus-start= cus-load wid-edit

cl-loaddefs cl-lib advice tooltip eldoc electric uni= quify ediff-hook

vc-hooks lisp-float-type mwheel term/x-win x-win ter= m/common-win x-dnd

tool-bar dnd fontset image regexp-opt fringe tabulat= ed-list replace

newcomment text-mode elisp-mode lisp-mode prog-mode = register page

tab-bar menu-bar rfn-eshadow isearch timer select sc= roll-bar mouse

jit-lock font-lock syntax facemenu font-core term/tt= y-colors frame

minibuffer cl-generic cham georgian utf-8-lang misc-= lang vietnamese

tibetan thai tai-viet lao korean japanese eucjp-ms c= p51932 hebrew greek

romanian slovak czech european ethiopic indian cyril= lic chinese

composite charscript charprop case-table epa-hook jk= a-cmpr-hook help

simple abbrev obarray cl-preloaded nadvice loaddefs = button faces

cus-face macroexp files text-properties overlay sha1= md5 base64 format

env code-pages mule custom widget hashtable-print-re= adable backquote

threads dbusbind gfilenotify lcms2 dynamic-setting s= ystem-font-setting

font-render-setting x-toolkit x multi-tty make-netwo= rk-process emacs)

 

Memory information:

((conses 16 246697 30355)

(symbols 48 21407 1)

(strings 32 65711 3822)

(string-bytes 1 2120737)

(vectors 16 37254)

(vector-slots 8 481354 23754)

(floats 8 118 220)

(intervals 56 3551 198)

(buffers 1000 37))

--_000_522fd31d7bfc4c6b93d1eee254fa1218checkpointcom_--