unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Guy Offer via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "51894@debbugs.gnu.org" <51894@debbugs.gnu.org>
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	[thread overview]
Message-ID: <1110db48db9540d8a33bdf9117fa24ae@checkpoint.com> (raw)
In-Reply-To: <83fsrw166y.fsf@gnu.org>

This GDB was configured as follows:
   configure --host=x86_64-pc-cygwin --target=x86_64-redhat-linux-gnu
             --with-auto-load-dir=$debugdir:$datadir/auto-load
             --with-auto-load-safe-path=$debugdir:$datadir/auto-load
             --with-expat
             --with-gdb-datadir=/usr/local/share/gdb (relocatable)
             --with-jit-reader-dir=/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=/usr/local/lib/debug (relocatable)

Regarding Emacs GDB support: Emacs has UI support for GDB (GUD GDB) which can display code source in Emacs buffers. 


("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] 
Sent: Tuesday, 16 November 2021 17:17
To: Guy Offer <guyof@checkpoint.com>
Cc: 51894@debbugs.gnu.org
Subject: Re: 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
> From:  Guy Offer via "Bug reports for GNU Emacs,  the Swiss army knife 
> of text editors" <bug-gnu-emacs@gnu.org>
> 
> Working on Cygwin Emacs when source code is located on Windows 10 
> network drives (e.g. Windows F: drive points to \\fileserver\soruce) 
> and accessed 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 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 directly from the Cygwin 
> (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 you mean by "Emacs gdb support"?

Thanks.


Secured by Check Point


________________________________

Report suspicious email
<https://mta-cnf.iaas.checkpoint.com/cmta_feedback_request?id=MjUwOTM4ZGY3NWQyYWVjNjZhMjc0YmQ1OGZlYTMzYzNlZTg2ODdhN2NmZTJmODRlZjJkMWEwY2FjNDNhYzIzMA==&t=YWI5ZjBkMjktYmI3Yy00OGI2LWIzYTMtODA0NTRmY2NjODNm>
________________________________








  reply	other threads:[~2021-11-17 14:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-16  9:22 bug#51894: 27.2; GDB Gud support on Cygwin has trouble accessing shared files on Windows network drives Guy Offer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-16 15:16 ` Eli Zaretskii
2021-11-17 14:00   ` Guy Offer via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-17 14:27     ` Eli Zaretskii
2021-11-17 15:01       ` Guy Offer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-17 17:03         ` Eli Zaretskii
2021-11-17 17:40           ` Ken Brown
2021-11-18  7:53             ` Guy Offer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-18  8:40               ` Eli Zaretskii
2021-11-18  8:54                 ` Guy Offer via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-18 11:02                   ` Eli Zaretskii
2021-11-18 14:17               ` Ken Brown
2021-11-18 14:58                 ` Eli Zaretskii
2021-11-18 20:15                   ` Ken Brown
2021-12-23 10:22                     ` Lars Ingebrigtsen
2021-12-23 13:45                       ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1110db48db9540d8a33bdf9117fa24ae@checkpoint.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=51894@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=guyof@checkpoint.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).