diff options
Diffstat (limited to 'sys/gdb/gdb_cons.c')
-rw-r--r-- | sys/gdb/gdb_cons.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/gdb/gdb_cons.c b/sys/gdb/gdb_cons.c index ff74665..47f453f 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) |