No subject


Thu Nov 20 15:46:21 PST 2014


What can you do? You can compile everything with debugging information 
and obtain core files of the crashing apps. Then you can (try to) 
analyse the core files with gdb.
To compile the base system with full debugging information you put the 
following in /etc/make.conf:
   CFLAGS+=-g
   STRIP=
To build pkgsrc packages with full debugging information you put the 
following into /usr/pkg/etc/mk.conf:
   CFLAGS+=-g
   INSTALL_UNSTRIPPED=yes
You can also use ktrace in your debugging.






More information about the Kernel mailing list