This is the mail archive of the cygwin@cygwin.com 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]

gdb and Windows 2000


Hello,

I would like to continue the discussion in the thread
at
http://sources.redhat.com/ml/cygwin/2001-09/msg00170.html

I have exactly the same problem:
je734613:jme/tmp> cat test.c
main() {

        printf ("hello\n");
}
je734613:jme/tmp>gcc -g -o test test.c
je734613:jme/tmp> gdb -nw ./test
GNU gdb 5.0 (20010428-3)
Copyright 2001 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) r
Starting program: /home/jmeurin/tmp/jme.exe

Program received signal SIGSEGV, Segmentation fault.
0x77d8b3ee in _libkernel32_a_iname ()
(gdb) bt
#0  0x77d8b3ee in _libkernel32_a_iname ()
#1  0x751520c6 in _libkernel32_a_iname ()
#2  0x77d8baec in _libkernel32_a_iname ()
#3  0x77d8b77a in _libkernel32_a_iname ()
#4  0x77d8bcd6 in _libkernel32_a_iname ()
#5  0x77d8bc71 in _libkernel32_a_iname ()
#6  0x77d8b789 in _libkernel32_a_iname ()
#7  0x77da8714 in _libkernel32_a_iname ()
#8  0x75153044 in _libkernel32_a_iname ()
#9  0x751aa4b2 in _libkernel32_a_iname ()
#10 0x751aa595 in _libkernel32_a_iname ()
#11 0x751a8a36 in _libkernel32_a_iname ()
#12 0x61067cec in _libkernel32_a_iname ()
#13 0x61068256 in _libkernel32_a_iname ()
#14 0x61003d4f in _libkernel32_a_iname ()
#15 0x6100421d in _libkernel32_a_iname ()
#16 0x6100425c in _libkernel32_a_iname ()
#17 0x0040124f in cygwin_crt0 ()
    at
/cygnus/netrel/src/cygwin-1.3.3-2/winsup/cygwin/lib/cygwin_crt0.c:33
(gdb)


I have the latest packages installed. The cygcheck -s
shows:


Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Oct 26 18:07:25 2001

WinNT Ver 5.0 build 2195 Service Pack 2

Path:   .
        /home/jmeurin/bin/cygwin
        /home/jmeurin/bin/scripts
        /usr/local/bin
        /usr/local/bin/i686-pc-cygwin
        /usr/bin
        /bin
        /c/WINNT/system32
        /c/WINNT
        /c/WINNT/System32/Wbem

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

PWD = `/home/jmeurin/tmp'
USER = `jmeurin'
MAKE_MODE = `unix'
HOME = `/home/jmeurin'

Use `-r' to scan registry

c:  hd  NTFS   19055Mb  23% CP CS UN PA FC    
E-Client
cygcheck: dump_sysinfo: GetVolumeInformation() failed:
1
d:  cd           N/A    N/A

C:\cygwin\bin  /usr/bin  system  binmode
C:\cygwin\lib  /usr/lib  system  binmode
C:\cygwin  /        system  binmode
c:    /c       user    textmode

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   56k 2000/12/03 C:\cygwin\bin\cygbz21.0.dll
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   34k 2001/09/30 C:\cygwin\bin\cygform6.dll
   18k 2000/10/23 C:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   21k 2001/06/28 C:\cygwin\bin\cyghistory5.dll
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll
   81k 2001/10/20 C:\cygwin\bin\cygitcl30.dll
   35k 2001/10/20 C:\cygwin\bin\cygitk30.dll
  119k 2001/06/06 C:\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   19k 2001/09/30 C:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2001/09/30 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  201k 2001/09/30 C:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2001/09/30 C:\cygwin\bin\cygpanel6.dll
  163k 2001/05/06 C:\cygwin\bin\cygpng2.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  135k 2001/06/28 C:\cygwin\bin\cygreadline5.dll
  390k 2001/10/20 C:\cygwin\bin\cygtcl80.dll
    5k 2001/10/20 C:\cygwin\bin\cygtclpip80.dll
   10k 2001/10/20 C:\cygwin\bin\cygtclreg80.dll
  245k 2001/06/12 C:\cygwin\bin\cygtiff3.dll
  623k 2001/10/20 C:\cygwin\bin\cygtk80.dll
   41k 2001/07/04 C:\cygwin\bin\cygXpm-noX4.dll
   45k 2001/07/04 C:\cygwin\bin\cygXpm-X4.dll
   49k 2001/02/03 C:\cygwin\bin\cygz.dll
  701k 2001/09/13 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 3
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 46
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Wed Sep 12 23:54:31 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section

Any ideas?

Thanks for your help,

Jean-Marc



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]