Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: szeil AT notesmail DOT cs DOT odu DOT edu Subject: Re: Emacs with gdb To: cygwin AT sourceware DOT cygnus DOT com X-Mailer: Lotus Notes Release 5.0 March 30, 1999 Message-ID: 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 AT sourceware DOT cygnus DOT com