Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: szeil@notesmail.cs.odu.edu
Subject: Re: Emacs with gdb
To: cygwin@sourceware.cygnus.com
X-Mailer: Lotus Notes Release 5.0  March 30, 1999
Message-ID: <OFF20F05F5.E7E6EE27-ON85256989.0073F608@cs.odu.edu>
Date: Tue, 31 Oct 2000 16:17:48 -0500
X-MIMETrack: Serialize by Router on lotus/ODUCS(Release 5.0.4 |June 8, 2000) at 10/31/2000
 04:17:55 PM
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id QAA16273

>At 01:34 AM 10/29/2000, ­E¤¯ wrote:
>After i typed M-x gdb myprogram. And then i type
>
>b main
>run
>
>     In theory,the Emacs will open the source file
>that contain main() and have an arrow pointed to main().
>But the Emacs now try to open /cygdrive/c/myprogrampath/main.c!
>Emacs dont know this kind of path naming.Therfore,it cant
>open the source file correctly.
>
>

For NTEmacs, get Michael Cook's cygwin32-mount.el (I keep a copy available
for my students' at
http://www.cs.odu.edu/~zeil/software/cygwin32-mount.el), put it in the
directory where you keep your other emacs .el and .elc files, and add
    (require 'cygwin32-mount)
to your .emacs file.

SJZ


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

