bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#51894: 27.2; GDB Gud support on Cygwin has trouble accessing shared


From: Guy Offer
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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]