delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/17/14:43:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <xiwang AT rational DOT com>
To: Help Emacs Windows <help-emacs-windows AT gnu DOT org>, 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019