aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kdb.h
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-07-12 01:15:55 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-07-12 01:15:55 +0000
commit3bcd2440dbb275fa296d92fd6e1248805ee70a89 (patch)
tree19b8172e8a6635245c93e3944760f5785b8a2785 /sys/sys/kdb.h
parent074c7af19b0f8ae3f6f50a9e714038ebf4d489dd (diff)
downloadsrc-3bcd2440dbb275fa296d92fd6e1248805ee70a89.tar.gz
src-3bcd2440dbb275fa296d92fd6e1248805ee70a89.zip
Make kdb_dbbe_select() available as an interface function. This allows
changing the backend from outside the KDB frontend. For example from within a backend. Rewrite kdb_sysctl_current to make use of this function as well.
Notes
Notes: svn path=/head/; revision=132001
Diffstat (limited to 'sys/sys/kdb.h')
-rw-r--r--sys/sys/kdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/kdb.h b/sys/sys/kdb.h
index f7c098821717..6a1b8f7d8f4c 100644
--- a/sys/sys/kdb.h
+++ b/sys/sys/kdb.h
@@ -64,6 +64,7 @@ extern struct thread *kdb_thread; /* Current thread. */
int kdb_alt_break(int, int *);
void kdb_backtrace(void);
+int kdb_dbbe_select(const char *);
void kdb_enter(const char *);
void kdb_init(void);
void * kdb_jmpbuf(jmp_buf);