mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 01:03:42 +00:00
Update for the KDB framework:
o Remove inclusion of opt_ddb.h o Make debugging code conditional upon KDB.
This commit is contained in:
parent
124ea6b5ac
commit
a0eb4d1051
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131911
|
@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$");
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
#include <sys/kernel.h>
|
||||
|
@ -1003,10 +1001,10 @@ ctintr(arg)
|
|||
scsi_low_print(slp, NULL);
|
||||
printf("%s: scsi_status 0x%x\n\n", slp->sl_xname,
|
||||
(u_int) scsi_status);
|
||||
#ifdef DDB
|
||||
#ifdef KDB
|
||||
if (ct_debug > 1)
|
||||
SCSI_LOW_DEBUGGER("ct");
|
||||
#endif /* DDB */
|
||||
#endif /* KDB */
|
||||
}
|
||||
#endif /* CT_DEBUG */
|
||||
|
||||
|
|
Loading…
Reference in a new issue