Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <0F1FB548BF76E34ABCFC850E9007D34E745722@sus-ca3it26> From: "Wang, Xiangmin" To: Help Emacs Windows , cygwin AT cygwin DOT com Subject: Question: Gdb, Emacs and Cygwin mount Date: Wed, 17 Jul 2002 11:42:27 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/