aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/kdb.h')
-rw-r--r--sys/sys/kdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/kdb.h b/sys/sys/kdb.h
index 75f8343b8428..a70e88627718 100644
--- a/sys/sys/kdb.h
+++ b/sys/sys/kdb.h
@@ -31,6 +31,7 @@
#ifndef _SYS_KDB_H_
#define _SYS_KDB_H_
+#include <sys/linker_set.h>
#include <machine/setjmp.h>
struct pcb;
@@ -61,6 +62,8 @@ struct kdb_dbbe {
}; \
DATA_SET(kdb_dbbe_set, name##_dbbe)
+SET_DECLARE(kdb_dbbe_set, struct kdb_dbbe);
+
extern u_char kdb_active; /* Non-zero while in debugger. */
extern int debugger_on_trap; /* enter the debugger on trap. */
extern struct kdb_dbbe *kdb_dbbe; /* Default debugger backend or NULL. */