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: R: Segfault with call to pthread_mutexattr_init under GDB


Marco Atzeri wrote:
Da: Nicholas Sherlock This GDB was configured as "i686-pc-mingw32"...

Have you tried the cygwin gbd ?


$ gcc-4 -o prova prova.c

$ gdb prova.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /tmp/prova/prova.exe

Program exited normally.

Whoops! I thought that I *was* using Cygwin's GDB, but it turns out that I forgot to reinstall it last time I refreshed my Cygwin installation. I've been using MinGW's GDB without ever realizing it.


I've now installed Cygwin's GDB, where it works perfectly.

Thanks!
Nicholas Sherlock


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


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