delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/05/13:55:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <13064545.post@talk.nabble.com>
Date: Fri, 5 Oct 2007 10:55:18 -0700 (PDT)
From: Doug Coleman <erg AT trifocus DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Debugging with cygwin tools
In-Reply-To: <fe3edi$2ut$1@sea.gmane.org>
MIME-Version: 1.0
X-Nabble-From: erg AT trifocus DOT net
References: <4704CA0F DOT 9010907 AT udc DOT es> <fe302e$8t3$1 AT sea DOT gmane DOT org> <016801c806a4$501cd850$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20071004202558 DOT gn6sv47ayockk8s8 AT webmail DOT udc DOT es> <fe3edi$2ut$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I'm having the exact same problem on win64 with gdb.  The PATH variable has
been set manually to avoid possible syntax errors, but the same problem
exists when I don't shorten the PATH.  Cygcheck doesn't list any dlls as
missing.  gdb works on my win32 computer.

Any other ideas?

Doug

$ uname -a
CYGWIN_NT-5.2-WOW64 c4 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin

Administrator AT c4 /cygdrive/k/factor
$ export PATH=/cygdrive/k/windows/system32:/usr/bin

Administrator AT c4 /cygdrive/k/factor
$ cygcheck.exe gdb.exe
Found: K:\cygwin\bin\gdb.exe
K:/cygwin/bin/gdb.exe
  K:\cygwin\bin\cygwin1.dll
    K:\WINDOWS\system32\ADVAPI32.DLL
      K:\WINDOWS\system32\ntdll.dll
      K:\WINDOWS\system32\KERNEL32.dll
      K:\WINDOWS\system32\RPCRT4.dll
        K:\WINDOWS\system32\Secur32.dll
  K:\cygwin\bin\cygiconv-2.dll
  K:\cygwin\bin\cygintl-3.dll
  K:\cygwin\bin\cygncurses-8.dll
  K:\WINDOWS\system32\COMDLG32.DLL
    K:\WINDOWS\system32\msvcrt.dll
    K:\WINDOWS\system32\SHLWAPI.dll
      K:\WINDOWS\system32\GDI32.dll
        K:\WINDOWS\system32\USER32.dll
    K:\WINDOWS\system32\COMCTL32.dll
    K:\WINDOWS\system32\SHELL32.dll
  K:\cygwin\bin\tcl84.dll
  K:\cygwin\bin\tk84.dll
    K:\WINDOWS\system32\IMM32.DLL

Administrator AT c4 /cygdrive/k/factor
$ cygcheck.exe ./factor-nt.exe
.\factor-nt.exe
  K:\WINDOWS\system32\msvcrt.dll
    K:\WINDOWS\system32\KERNEL32.dll
      K:\WINDOWS\system32\ntdll.dll
  K:\WINDOWS\system32\SHELL32.DLL
    K:\WINDOWS\system32\GDI32.dll
      K:\WINDOWS\system32\USER32.dll
      K:\WINDOWS\system32\ADVAPI32.dll
        K:\WINDOWS\system32\RPCRT4.dll
          K:\WINDOWS\system32\Secur32.dll
    K:\WINDOWS\system32\SHLWAPI.dll
  .\factor-nt.dll

Administrator AT c4 /cygdrive/k/factor
$ gdb ./factor-nt
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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: /cygdrive/k/factor/factor-nt.exe
Error: dll starting at 0x77d41000 not found.
Segmentation fault (core dumped)

Administrator AT c4 /cygdrive/k/factor
$
-- 
View this message in context: http://www.nabble.com/Debugging-with-cygwin-tools-tf4568124.html#a13064545
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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