diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 8a4a8faddb83..0a2c93b924e6 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -629,10 +629,6 @@ trap_fatal(frame, eva) printf("Idle\n"); } -#ifdef KDB - if (kdb_trap(&psl)) - return; -#endif #ifdef DDB if ((debugger_on_panic || db_active) && kdb_trap(type, 0, frame)) return; diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 2a0ae0d6e83d..c72f51579916 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -806,10 +806,6 @@ trap_fatal(frame, eva) printf("Idle\n"); } -#ifdef KDB - if (kdb_trap(&psl)) - return; -#endif #ifdef DDB if ((debugger_on_panic || db_active) && kdb_trap(type, 0, frame)) return;