help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Question: Gdb, Emacs and Cygwin mount


From: Wang, Xiangmin
Subject: [h-e-w] Question: Gdb, Emacs and Cygwin mount
Date: Wed, 17 Jul 2002 11:42:27 -0700

Hi,

        I think this is a problem of emacs and cygwin mount mismatch. I wish
someone can share some thought on it. Thanks.

        1. I have a cygwin-mount root directory (/) as follows

                c:\cygwin       /       type system (binmode)   ; mount -b
-s c:\\cygwin /

        2. Under the directory /home/foo (i.e. c:\cygwin\home\foo), I have
hello.c and hello.exe

        3. I launched the gdb though emacs, as follows

                cd /home/foo
                M-x gdb
                file hello
                b main
                run

        4. So far everything seems fine (thanks)

        5. The problem:

                When the execution stopped at the breakpoint 'main', gdb
brought up a empty source buffer 'hello.c'. When I M-x pwd from this empty
source buffer, IT IS c:/home/foo. Please note that there is a drive
designator, c:, prefixing the posix path /home/foo.

        6. If I remount c:\cygwin to /cygwin, the problematic path will
become c:/cygwin/home/foo, and the source buffer 'hello.c' is OK.

        So what is the problem? Thanks for any suggestion.

Best Regards,

Xiangmin





reply via email to

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