cvs commit: src/sys/kern kern_clock.c kern_malloc.c kern_mutex.c
kern_shutdown.c kern_switch.c kern_synch.c
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jul 10 14:36:01 PDT 2004
marcel 2004-07-10 21:36:01 UTC
FreeBSD src repository
Modified files:
sys/kern kern_clock.c kern_malloc.c kern_mutex.c
kern_shutdown.c kern_switch.c
kern_synch.c
Log:
Update for the KDB framework:
o Make debugging code conditional upon KDB instead of DDB.
o Call kdb_enter() instead of Debugger().
o Call kdb_backtrace() instead of db_print_backtrace() or backtrace().
kern_mutex.c:
o Replace checks for db_active with checks for kdb_active and make
them unconditional.
kern_shutdown.c:
o s/DDB_UNATTENDED/KDB_UNATTENDED/g
o s/DDB_TRACE/KDB_TRACE/g
o Save the TID of the thread doing the kernel dump so the debugger
knows which thread to select as the current when debugging the
kernel core file.
o Clear kdb_active instead of db_active and do so unconditionally.
o Remove backtrace() implementation.
kern_synch.c:
o Call kdb_reenter() instead of db_error().
Revision Changes Path
1.172 +6 -10 src/sys/kern/kern_clock.c
1.134 +3 -2 src/sys/kern/kern_malloc.c
1.141 +2 -5 src/sys/kern/kern_mutex.c
1.154 +15 -33 src/sys/kern/kern_shutdown.c
1.70 +2 -1 src/sys/kern/kern_switch.c
1.253 +5 -9 src/sys/kern/kern_synch.c
More information about the cvs-all
mailing list