delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/17/23:33:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Boyd Adamson" <boyd-adamson AT usa DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Cygwin 1.1.0 gdb troubles
Date: Tue, 18 Apr 2000 14:32:46 +1000
Message-ID: <IGEDJPNMGKAGHGIDBAFFGECMCHAA.boyd-adamson@usa.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600

Hi, I just installed cygwin 1.1.0. and I was looking forward to playing with
Insight, but had a problem with gdb hanging when I run even the simplest
program under it.

bash-2.03$ cat trial.c
#include <stdio.h>

int main(int argc, char **argv){
    printf("This is a test\n");
    exit(0);
}
bash-2.03$ gcc -Wall -g3 -o trial trial.c
bash-2.03$ ls -l
total 8
-rw-r--r--   1 boyd     Administ      100 Apr 18 14:23 trial.c
-rwxr-xr-x   1 boyd     Administ    13179 Apr 18 14:24 trial.exe
bash-2.03$ ./trial
This is a test
bash-2.03$ gdb -nw trial.exe
GNU gdb 20000204
Copyright 2000 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 "i686-pc-cygwin"...
(gdb) run
Starting program: /tmp/trial.exe
61000000:d:/cygwin/bin/cygwin1.dll
77db0000:D:/WINNT/system32/ADVAPI32.DLL
77e80000:D:/WINNT/system32/KERNEL32.DLL
77d30000:D:/WINNT/system32/RPCRT4.DLL

... and there it hangs. This happens in the gui as well.

Anyway, in the process of trying to work this out I used a find command and
got
this output (The redirection only hides the output from directories other
than
/tmp & /usr)

bash-2.03$ find / > /dev/null
find: /tmp: No such file or directory
find: /uninst.bat: No such file or directory
find: /usr: No such file or directory
bash-2.03$ ls -l /
total 66
drwxr-xr-x   2 boyd     Administ    28672 Apr 18 14:17 bin
drwxr-xr-x   3 boyd     Administ     4096 Apr 18 14:17 lib
drwxr-xr-x   2 boyd     Administ        0 Apr 18 14:17 tmp
-rwxr-xr-x   1 boyd     Administ    96927 Apr 18 14:17 uninst.bat
drwxr-xr-x  12 boyd     Administ     4096 Apr 18 14:17 usr
bash-2.03$ mount
Device              Directory           Type         Flags
d:\cygwin\bin       /usr/bin            user         binmode
d:\cygwin\lib       /usr/lib            user         binmode
d:\cygwin           /                   user         binmode

Are these issues related? Could it be that the problem find is
having with the /tmp directory is causing gdb's woes?

I'm on Win2000 with an NTFS filesystem if it makes any difference.

Thanks for any help in advance,

Boyd


--
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