delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/03/17/01:32:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Richard Stanton" <stanton AT haas DOT berkeley DOT edu>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: gdb under EMACS - only works on drive C:
Date: Tue, 16 Mar 1999 22:32:02 -0800
Message-ID: <000801be703f$de3023e0$993a85d1@CONNOR.berkeley.edu>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
In-Reply-To: <199903170620.AAA05167@modi.xraylith.wisc.edu>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0

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:

*gud-amput.exe* window:

Current directory is d:/scratch/
GNU gdb 4.17.1
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
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
bff30000:/WINDOWS/SYSTEM/GDI32.DLL
bff60000:/WINDOWS/SYSTEM/USER32.DLL
bff70000:/WINDOWS/SYSTEM/KERNEL32.DLL
bfed0000:/WINDOWS/SYSTEM/ADVAPI32.DLL
61000000:/CYGNUS/CYGWIN-B20/H-I586-CYGWIN32/BIN/CYGWIN1.DLL

Breakpoint 1, main (argc=1, argv=0x2590f40) at amput.c:31
(gdb)

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
d:/D/scratch/amput.c.

Any idea what's going wrong?

Richard Stanton


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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