No subject


Sat Sep 22 19:38:08 PDT 2012


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