summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-03-11 00:17:45 +0000
committermarcel <marcel@FreeBSD.org>2004-03-11 00:17:45 +0000
commita0686a846e51e9290b2e617bf4fe2359e9860fad (patch)
treeb5a8f55961873fd7c0bf4aacb56f0a4df9288d40
parent17c331ca3379b155d40a40afdaa0fd2639cac5c1 (diff)
downloadFreeBSD-src-a0686a846e51e9290b2e617bf4fe2359e9860fad.zip
FreeBSD-src-a0686a846e51e9290b2e617bf4fe2359e9860fad.tar.gz
Remove stale or broken call to kdb_trap() and protected by the non-
option KDB. Besides being wrong, it also interferes with ongoing work.
-rw-r--r--sys/amd64/amd64/trap.c4
-rw-r--r--sys/i386/i386/trap.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index 8a4a8fa..0a2c93b 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 2a0ae0d..c72f515 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;
OpenPOWER on IntegriCloud