On Jul 29 23:47, Christopher Faylor wrote: > On Sun, Jul 29, 2012 at 01:07:09PM -0400, Bernd Prager wrote: > >I am trying to debug a compiled c++ program with gdb. > > > >When I start gdb it claims the symbols are loaded. When I try to list > >the source code I get: > > > >(gdb) list > > > >/home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygwin/crt0.c: > > > >No such file or directory. > > in > >/home/corinna/src/cygwin/cygwin-1.7.15/cygwin-1.7.15-1/src/cygwin-1.7.15/winsup/cygwin/crt0.c > > > >When I try to single step trough the program I get: > > > >(gdb) start > >Temporary breakpoint 1 at 0x401173 > >Starting program: /home/bernd/Test/a.exe > >[New Thread 3820.0x8a0] > >[New Thread 3820.0x41c] > > > >Temporary breakpoint 1, 0x00401173 in main () > >(gdb) next > >Single stepping until exit from function main, > >which has no line number information. > >0x004011c2 in _fu0___ZSt4cout () > > > >Does anybody has an idea what is going on? > > Sure looks like your program is not compiled with debugging information, > i.e., "gcc -g" was not used when compiling and linking the program. > > As to who Corrina is, here's a link: > > http://www.imdb.com/title/tt0109484/
Yep, that's me, more or less. Except I'm written with one r and two n, I'm larger and skinnier in proportion, have different hair, eye, and skin color, rather doubtful actor skills, and I'm probably paid a teeny little bit less for my job. But otherwise, yes, that's me. Corinna P.S.: If you want to debug Cygwin itself, you should install the cygwin-debuginfo package. -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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