This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: gdb under EMACS - only works on drive C:
- To: Richard Stanton <email@example.com>
- Subject: Re: gdb under EMACS - only works on drive C:
- From: Anders Norlander <firstname.lastname@example.org>
- Date: Wed, 17 Mar 1999 18:23:10 +0100
- CC: email@example.com
- Delivered-To: firstname.lastname@example.org
- Delivered-To: mailing list email@example.com
- Mailing-List: contact firstname.lastname@example.org; run by ezmlm
- References: <000801be703f$de3023e0$993a85d1@CONNOR.berkeley.edu>
- Sender: email@example.com
Richard Stanton wrote:
> I've been using gcc + gdb under EMACS for a long time with no trouble, but
> have just noticed a problem. I can't debug a program that's on a drive other
> than drive C: (I've never tried this before). Here's what happens when I try
> running d:\scratch\amput.exe:
> This GDB was configured as "i586-cygwin32"...
> (gdb) break main
> Breakpoint 1 at 0x401077: file amput.c, line 31.
> (gdb) run
> Starting program: //D/scratch/amput.exe
^^^^ cygwin path
> So far so good, except that in the source window, a NEW file amput.c is
> created and displayed. Emacs seems to think it's called
> Any idea what's going wrong?
You are using NT emacs, right? NT emacs is not a cygwin program (it
possibly be compiled with cygwin tools. Anybody tried this?) and
doesn't recognize cygwin style paths with a specified drive or paths
containing "mounted" directories. As you see emacs strips the first
leading '/' and thinks the rest is a valid windows path, which it is
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org