This is the mail archive of the
mailing list for the Cygwin project.
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 18.104.22.16880328-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"...
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple