This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Debugging with cygwin tools


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@c4 /cygdrive/k/factor
$ export PATH=/cygdrive/k/windows/system32:/usr/bin

Administrator@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@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@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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]