aboutsummaryrefslogtreecommitdiff
path: root/sys/gdb
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2014-06-28 03:56:17 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2014-06-28 03:56:17 +0000
commitaf3b2549c4ba2ef00a7cbb4cb6836598bf0aefbe (patch)
tree2ebc46d89e79d747fa284f379b1979658216c719 /sys/gdb
parentb152235544f6d8515906c119c210fbd77827b511 (diff)
downloadsrc-af3b2549c4ba2ef00a7cbb4cb6836598bf0aefbe.tar.gz
src-af3b2549c4ba2ef00a7cbb4cb6836598bf0aefbe.zip
Pull in r267961 and r267973 again. Fix for issues reported will follow.
Notes
Notes: svn path=/head/; revision=267992
Diffstat (limited to 'sys/gdb')
-rw-r--r--sys/gdb/gdb_cons.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/gdb/gdb_cons.c b/sys/gdb/gdb_cons.c
index ff746658601f..47f453fc3eea 100644
--- a/sys/gdb/gdb_cons.c
+++ b/sys/gdb/gdb_cons.c
@@ -58,9 +58,8 @@ struct gdbcons {
static struct gdbcons state = { -1 };
static int gdbcons_enable = 0;
-SYSCTL_INT(_debug, OID_AUTO, gdbcons, CTLFLAG_RW, &gdbcons_enable,
- 0, "copy console messages to gdb");
-TUNABLE_INT("debug.gdbcons", &gdbcons_enable);
+SYSCTL_INT(_debug, OID_AUTO, gdbcons, CTLFLAG_RWTUN, &gdbcons_enable,
+ 0, "copy console messages to GDB");
static void
gdb_cnprobe(struct consdev *cp)