diff options
author | grehan <grehan@FreeBSD.org> | 2002-10-04 01:19:18 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2002-10-04 01:19:18 +0000 |
commit | 93f545f5364d26cf38551147edb95515a4ccc20e (patch) | |
tree | 8e5b099fda2bff29e4f306186c79ea3e644aff3d /sys/powerpc/aim | |
parent | 40bdd697c26f987637e72420edcae436c92916b9 (diff) | |
download | FreeBSD-src-93f545f5364d26cf38551147edb95515a4ccc20e.zip FreeBSD-src-93f545f5364d26cf38551147edb95515a4ccc20e.tar.gz |
Clean up ddb warnings/errors and enable in GENERIC
Approved by: benno
Motivated by: gallatin
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/trap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/powerpc/aim/trap.c b/sys/powerpc/aim/trap.c index d8d82e6..5469c2e 100644 --- a/sys/powerpc/aim/trap.c +++ b/sys/powerpc/aim/trap.c @@ -75,6 +75,8 @@ static const char rcsid[] = #include <machine/spr.h> #include <machine/sr.h> +#include <ddb/ddb.h> + #ifndef MULTIPROCESSOR extern int intr_depth; #endif @@ -280,7 +282,7 @@ trap_fatal(struct trapframe *frame) printtrap(frame->exc, frame, 1, (frame->srr1 & PSL_PR)); #ifdef DDB - if ((debugger_on_panic || db_active) && kdb_trap(frame->exc, 0, frame)) + if ((debugger_on_panic || db_active) && kdb_trap(frame->exc, frame)) return; #endif panic("%s trap", trapname(frame->exc)); |