Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: GDB on Win2k doesn't work for me. From: Paul Stodghill Date: 26 Jun 2000 13:04:00 -0400 Message-ID: Lines: 323 User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Capitol Reef) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii When I try to debug even the most trivial program using GDB, the execution is stopped with "Unknown signal"'s. Continuing doesn't help; eventually GDB just hangs. I believe that I'm running the most recent version of everything (I just run "setup" to make sure). I'm pretty sure that this has been discussed before, but a search of the mailing list archive didn't turn up anything useful. I did find, http://sourceware.cygnus.com/ml/cygwin/2000-04/msg00420.html which points to ftp://ftp.cygnus.com/private/home/cgf/gdb.exe.bz2 but that file no longer exists. --------------------------------------------------------------------------- milhouse% cat foo.c #include int main() { printf("Hello, world.\n"); return 0; } milhouse% gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/specs gcc version 2.95.2 19991024 (release-2) milhouse% gcc -g -o foo.exe foo.c milhouse% gdb -nw foo.exe GNU gdb 5.0 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: /home/stodghil/localhome/tmp/foo.exe gdb: unknown target exception 0x000006d1 at 0x77e89b01 Program received signal ?, Unknown signal. 0x77e89b01 in ?? () (gdb) --------------------------------------------------------------------------- milhouse% uname -a CYGWIN_NT-5.0 MILHOUSE 1.1.2(0.21/3/2) 2000-06-06 22:20 i686 unknown milhouse% cygcheck -v -s -r Cygnus Win95/NT Configuration Diagnostics Current System Time: Mon Jun 26 13:02:33 2000 WinNT Ver 5.0 build 2195 Path: /home/stodghil/usr/i386-cygwin/bin /home/stodghil/pvse/bin /home/stodghil/usr/share/bin /usr/local/gcc/bin /usr/local/bin /usr/X11R6/bin /contrib/bin /usr/bin /cygdrive/c/WINDOWS/MS/SMS/CORE/BIN /cygdrive/c/WINDOWS/MS/SMS/CORE/BIN /cygdrive/c/Progra~1/Micros~4/Common/Tools /cygdrive/c/Progra~1/Micros~4/Common/Msdev98/BIN /cygdrive/c/Progra~1/Micros~4/DF98/BIN /cygdrive/c/Progra~1/Micros~4/VC98/BIN /cygdrive/c/Progra~1/MPIPro/bin /cygdrive/c/Progra~1/Perl/bin /cygdrive/c/WINDOWS/system32 /cygdrive/c/WINDOWS /cygdrive/c/WINDOWS/system32/WBEM /cygdrive/c/Progra~1/Rational/common /cygdrive/c/Program Files/Intel/compiler45/bin /cygdrive/c/Progra~1/Intel/compiler45/bin /cygdrive/c/Progra~1/Intel/edb32/ /cygdrive/c/progra~1/texmf/miktex/bin /cygdrive/c/PROGRA~1/MICROS~4/COMMON/msdev98/BIN /cygdrive/c/PROGRA~1/MICROS~4/VC98/BIN /cygdrive/c/PROGRA~1/MICROS~4/COMMON/TOOLS/WINNT /cygdrive/c/PROGRA~1/MICROS~4/COMMON/TOOLS /cygdrive/c/progra~1/python /cygdrive/c/progra~1/tcl/bin /cygdrive/c/progra~1/mpipro/bin /usr/bin /usr/local/bin /usr/X11R6/bin . SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS HOME = `/home/stodghil' LD_LIBRARY_PATH = `/home/stodghil/usr/i386-cygwin/lib:/usr/local/gnu/lib:/usr/local/lib' MAKE_MODE = `unix' PWD = `/home/stodghil' USER = `stodghil' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\stodghil.CUCS\Application Data' BIBINPUTS = `.:~pidgin/papers/bib:' BSTINPUTS = `.:~/usr/share/lib/texmf/bibtex/bst:' CLASSPATH = `C:\PROGRA~1\PHOTOD~1.0\ADOBEC~1' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `MILHOUSE' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CPTC_SUPPORT = `/home/stodghil/cptc-support' CPU = `i386' DOMAINNAME = `cs.cornell.edu' EDITOR = `gnuclient' EMACS = `1' ENSCRIPT = `-p -' GNU_SECURE = `/home/stodghil/.gnuserv' GROUP = `Administrators' HOMEDRIVE = `T:' HOMEPATH = `\' HOMESHARE = `\\bigbird\stodghil' HOST = `MILHOUSE' HOSTNAME = `MILHOUSE' HOSTOS = `i386-cygwin' HOSTTYPE = `i386' INCLUDE = `C:\Program Files\Intel\compiler45\include;C:\Progra~1\Intel\compiler45\include;C:\PROGRA~1\MICROS~4\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\MFC\INCLUDE;C:\Progra~1\Micros~4\DF98\IMSL\INCLUDE;C:\Progra~1\Micros~4\DF98\INCLUDE;C:\Progra~1\Micros~4\VC98\INCLUDE' INFOPATH = `/home/stodghil/usr/share/info:/usr/local/info:/usr/info' LESS = `sh10' LIB = `C:\Program Files\Intel\compiler45\lib;C:\Progra~1\Intel\compiler45\lib;C:\PROGRA~1\MICROS~4\VC98\LIB;C:\PROGRA~1\MICROS~4\VC98\MFC\LIB;C:\Progra~1\Micros~4\DF98\IMSL\LIB;C:\Progra~1\Micros~4\DF98\LIB;C:\Progra~1\Micros~4\VC98\LIB' LINK_F90 = `imsl.lib imsls_err.lib imslmpistub.lib' LOGGEDIN = `' LOGNAME = `stodghil' LOGONSERVER = `\\IAGO' LONGNAME = `milhouse.cs.cornell.edu' LPDEST = `sully' MACHTYPE = `i386' MANPATH = `/home/stodghil/usr/share/man:/usr/local/man:/usr/man' MINGWROOT = `/usr/local/mingw' MIRRORDIR = `/home/stodghil/usr/share/etc/mirror' MPI_COMM = `TCP' MPI_HOME = `C:\PROGRA~1\MPIPro' MSDEVDIR = `C:\PROGRA~1\MICROS~4\COMMON\msdev98' MSVCDIR = `C:\PROGRA~1\MICROS~4\VC98' NENSCRIPT = `-p -' NNTPSERVER = `newsstand.cit.cornell.edu' NUMBER_OF_PROCESSORS = `1' ORGANIZATION = `Dept. of Comp. Sci., Cornell U.' OS2LIBPATH = `C:\WINDOWS\system32\os2\dll;' OS = `Windows_NT' OSTYPE = `cygwin' PAGER = `ul' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PERL5LIB = `/home/stodghil/usr/share/lib/perl' PETSC_ARCH = `cptc-support' PETSC_DIR = `/home/stodghil/cptc-support/petsc' PRINTER = `sully' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel' PROCESSOR_LEVEL = `6' PROCESSOR_REVISION = `0502' PROGRAMFILES = `C:\Program Files' PROMPT = `$p$g' PURIFYCACHEDIR = `/home/stodghil/usr/i386-cygwin/lib/purify/cache' SCHEME_LIBRARY_PATH = `/home/stodghil/usr/share/lib/slib/' SHELL = `/usr/local/bin/tcsh' SHLVL = `2' SHORTHOST = `milhouse' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `c:\temp' TERM = `emacs' TERMCAP = `emacs:co#80:tc=unknown:' TEXINPUTS = `.:~/usr/share/lib/texmf/latex//:' TEXMF = `c:\progra~1\texmf' TMP = `c:\temp' TMPDIR = `/home/stodghil/localhome/tmp' TZ = `EST5EDT4,M4.1.0/2,M10.5.0/2' USERDOMAIN = `CUCS' USERNAME = `stodghil' USERPROFILE = `C:\Documents and Settings\stodghil.CUCS' VENDOR = `intel' VISUAL = `gnuclient' VNI_F90_MSG = `C:\Progra~1\Micros~4\DF98\IMSL\MESSAGE' WEBSTERHOST = `alvis' WINBOOTDIR = `C:\WINDOWS' WINDIR = `C:\WINDOWS' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000020 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `c:\Progra~1\Cygwin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/pidgin (default) = `p:' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/stodghil (default) = `c:\home' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home/stodghil/unix (default) = `u:\' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/localhome (default) = `c:\localhome' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `c:\Progra~1\Cygwin\bin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `c:\Progra~1\Cygwin\lib' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/local (default) = `c:\unix\usr.local' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6 (default) = `c:\unix\usr.X11R6.4' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\ftp\Accounts\sourceware.cygnus.com (default) = `' = `' Login Attributes = 0x00000002 HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygnus Solutions (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Installed Components\c:/Progra~1/Cygwin (default) = `20000517' bash = `0002.0004.0001' binutils = `19990818.0002' bison = `0000' byacc = `0000' bzip = `0000' clear = `0001.0000' cygwin = `0001.0001.0002' dejagnu = `0000' diff = `0000' expect = `0000' fileutils = `0000' findutils = `0000' flex = `0000' gawk = `0003.0000.0004' gcc = `0002.0095.0002.0002' gdb = `20000610' gperf = `0000' grep = `0000' groff = `0001.011a.0001' gzip = `0000' inetutils = `0001.0003.0002.0004' less = `0000' libpng = `0001.0000.0006.0001' login = `0001.0003' m = `0000' make = `0003.0079.0002' man = `0001.005g.0002' patch = `0000' sed = `0003.0002.0001' shellutils = `0000' tar = `0000' tcltk = `20000610' termcap = `20000618.0001' texinfo = `0000' textutils = `0000' time = `0000' zlib = `0001.0001.0003.0001' crypt = `0001.0000' opengl = `0001.0002.0001.0001' HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 a: fd N/A N/A c: hd NTFS 5987Mb 91% CP CS UN PA FC g: cd N/A N/A h: net NTFS 833111Mb 87% CP CS UN PA FC powervault p: net UNKNOWN 3996Mb 88% pidgin s: net NTFS 4094Mb 64% CP CS UN PA FC t: net NTFS 86796Mb 94% CP CS UN PA FC Bigbird_1 u: net UNKNOWN 4063Mb 78% stodghil w: net NTFS 28670Mb 51% CP CS UN PA FC HTTP z: net NTFS 152425Mb 26% CP CS UN PA FC Raven_a c:\Progra~1\Cygwin\bin /usr/bin user binmode c:\Progra~1\Cygwin\lib /usr/lib user binmode c:\unix\usr.X11R6.4 /usr/X11R6 user binmode c:\Progra~1\Cygwin / user binmode c:\unix\usr.local /usr/local user binmode c:\localhome /localhome user binmode c:\home /home/stodghil user binmode p: /home/pidgin user binmode u: /home/stodghil/unix user binmode Found: c:\Progra~1\Cygwin\bin\bash.exe Found: c:\unix\usr.local\bin\cat.exe Found: c:\Progra~1\Cygwin\bin\cat.exe Warning: c:\unix\usr.local\bin\cat.exe hides c:\Progra~1\Cygwin\bin\cat.exe Found: c:\Progra~1\Cygwin\bin\cpp.exe Found: c:\Progra~1\Cygwin\bin\find.exe Found: c:\Progra~1\Cygwin\bin\gcc.exe Found: c:\Progra~1\Cygwin\bin\gdb.exe Found: c:\Progra~1\Cygwin\bin\ld.exe Found: c:\Progra~1\Cygwin\bin\ls.exe Found: c:\Progra~1\Cygwin\bin\make.exe Found: c:\Progra~1\Cygwin\bin\sh.exe 83k 2000/06/11 c:\Progra~1\Cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/6/10 23:34 35k 2000/06/11 c:\Progra~1\Cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/6/10 23:34 402k 2000/06/11 c:\Progra~1\Cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2000/6/10 23:30 5k 2000/06/11 c:\Progra~1\Cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2000/06/11 c:\Progra~1\Cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2000/6/10 23:30 639k 2000/06/11 c:\Progra~1\Cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/6/10 23:34 575k 2000/06/07 c:\Progra~1\Cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2000/6/6 22:20 Use -h to see help about each section milhouse% -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com