[Midnightbsd-cvs] src: sys/sys: Introduce kdb_enter_why as an alternative to kdb_enter.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jul 10 13:01:04 EDT 2011


Log Message:
-----------
Introduce kdb_enter_why as an alternative to kdb_enter.  It allows you to specify why you're going into the debugger so scripts can be selected.

FreeBSD 8 has this functionality as kdb_enter.  I considered just merging it that way, but it would break binary compatibility with freebsd kernel modules which I don't want to do yet.  (think nvidia graphics driver)

Modified Files:
--------------
    src/sys/sys:
        kdb.h (r1.2 -> r1.3)
        (http://cvsweb.midnightbsd.org/src/sys/sys/kdb.h?r1=1.2&r2=1.3)
    src/sys/kern:
        subr_kdb.c (r1.2 -> r1.3)
        (http://cvsweb.midnightbsd.org/src/sys/kern/subr_kdb.c?r1=1.2&r2=1.3)


More information about the Midnightbsd-cvs mailing list