This is the mail archive of the
cygwin
mailing list for the Cygwin project.
unable to debug code with std::string
- From: "Krzysztof Duleba" <krzysan at skrzynka dot pl>
- To: cygwin at cygwin dot com
- Date: Tue, 10 Jan 2006 17:01:59 +0100
- Subject: unable to debug code with std::string
$ uname -a
CYGWIN_NT-5.1 DULI2 1.5.19s(0.150/4/2) 20060110 00:01:37 i686 unknown
unknown Cygwin
$ cat foo.cpp
#include <string>
int main(){
std::string str;
}
$ g++ -g foo.cpp -o foo
Krzysiek@DULI2 /cygdrive/d/programowanie/moje/Topcoder/prob
$ gdb ./foo
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 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: /cygdrive/d/programowanie/moje/Topcoder/prob/foo.exe
Program received signal SIGSEGV, Segmentation fault.
0x610aea58 in pthread_key_create () from /usr/bin/cygwin1.dll
This is a regression from 1.5.18.
Krzysztof Duleba
--
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/