Я пытаюсь найти точку в моей программе, в которой происходит segmentation fault. Делаю следующее:
$ gdb ./my_program (gdb) core-file core Core was generated by `./my_program'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libfltk.so.1.1...done. Loaded symbols for /usr/local/lib/libfltk.so.1.1 Reading symbols from /usr/lib/libxml2.so.2...done. Loaded symbols for /usr/lib/libxml2.so.2 Reading symbols from /usr/local/lib/libpnvm.so.0...done. Loaded symbols for /usr/local/lib/libpnvm.so.0 Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...done. Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3 Reading symbols from /lib/libm.so.6...done. Loaded symbols for /lib/libm.so.6 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/X11R6/lib/libXft.so.1...done. Loaded symbols for /usr/X11R6/lib/libXft.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /usr/X11R6/lib/libXext.so.6...done. Loaded symbols for /usr/X11R6/lib/libXext.so.6 Reading symbols from /usr/X11R6/lib/libX11.so.6...done. Loaded symbols for /usr/X11R6/lib/libX11.so.6 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/X11R6/lib/libXrender.so.1...done. Loaded symbols for /usr/X11R6/lib/libXrender.so.1 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /home/sinister/projects/pnets_stuff/libbdetrig.so...done. Loaded symbols for /home/sinister/projects/pnets_stuff/libbdetrig.so #0 0x08097fa7 in ?? ()
То есть никакой полезной информации. Программу компилировал с опцией -g, поэтому отладочная информация вроде бы должна присутствовать. Что я не так делаю?