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
f4488175f3
commit
5871b498c8
@ -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 New Issue
Block a user