On 2006-01-07 17:17, Tofik Suleymanov <[EMAIL PROTECTED]> wrote: > Reading through http://www.netbsd.org i've met this: > > Forcing code to enter DDB > > Ensure your kernel config file contains '|options DDB|', the file has > '|#include "opt_ddb.h"|', then use '|Debugger()|'. > > ... > > Does this work on FreeBSD also ?
This is slightly different in FreeBSD. You have to call: #include <sys/kdb.h> kdb_enter(NULL); /* Enter without a message */ or #include <sys/kdb.h> kdb_enter("Forced into debugger by Giorgos"); _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"