diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2007-12-25 17:52:02 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2007-12-25 17:52:02 +0000 |
commit | 3de213cc00f2889d2cd693968fd38c10a7f5def1 (patch) | |
tree | ae45f86ab6fb75519ba2d9dbc206616dba84cc13 /sys/compat/ndis/subr_ntoskrnl.c | |
parent | 6862d27ecd3a641713fe08d9572a27bf218cc8d9 (diff) | |
download | src-3de213cc00f2889d2cd693968fd38c10a7f5def1.tar.gz src-3de213cc00f2889d2cd693968fd38c10a7f5def1.zip |
Add a new 'why' argument to kdb_enter(), and a set of constants to use
for that argument. This will allow DDB to detect the broad category of
reason why the debugger has been entered, which it can use for the
purposes of deciding which DDB script to run.
Assign approximate why values to all current consumers of the
kdb_enter() interface.
Notes
Notes:
svn path=/head/; revision=174898
Diffstat (limited to 'sys/compat/ndis/subr_ntoskrnl.c')
-rw-r--r-- | sys/compat/ndis/subr_ntoskrnl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/ndis/subr_ntoskrnl.c b/sys/compat/ndis/subr_ntoskrnl.c index 367d9f6593c8..dd76d252ca95 100644 --- a/sys/compat/ndis/subr_ntoskrnl.c +++ b/sys/compat/ndis/subr_ntoskrnl.c @@ -3632,7 +3632,7 @@ DbgBreakPoint(void) #if __FreeBSD_version < 502113 Debugger("DbgBreakPoint(): breakpoint"); #else - kdb_enter("DbgBreakPoint(): breakpoint"); + kdb_enter(KDB_WHY_NDIS, "DbgBreakPoint(): breakpoint"); #endif } |