diff options
author | Pawel Biernacki <kaktus@FreeBSD.org> | 2020-02-26 14:26:36 +0000 |
---|---|---|
committer | Pawel Biernacki <kaktus@FreeBSD.org> | 2020-02-26 14:26:36 +0000 |
commit | 7029da5c36f2d3cf6bb6c81bf551229f416399e8 (patch) | |
tree | 53cae9da1371117a3ac21d0d0f3f030a692807ae /sys/gdb | |
parent | d7313dc6f5fcab29946951936597772dfff6a4be (diff) | |
download | src-7029da5c36f2d3cf6bb6c81bf551229f416399e8.tar.gz src-7029da5c36f2d3cf6bb6c81bf551229f416399e8.zip |
Notes
Diffstat (limited to 'sys/gdb')
-rw-r--r-- | sys/gdb/gdb_main.c | 3 | ||||
-rw-r--r-- | sys/gdb/netgdb.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/gdb/gdb_main.c b/sys/gdb/gdb_main.c index 08d108c85253..0944de14eff2 100644 --- a/sys/gdb/gdb_main.c +++ b/sys/gdb/gdb_main.c @@ -44,7 +44,8 @@ __FBSDID("$FreeBSD$"); #include <gdb/gdb.h> #include <gdb/gdb_int.h> -SYSCTL_NODE(_debug, OID_AUTO, gdb, CTLFLAG_RW, 0, "GDB settings"); +SYSCTL_NODE(_debug, OID_AUTO, gdb, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, + "GDB settings"); static dbbe_init_f gdb_init; static dbbe_trap_f gdb_trap; diff --git a/sys/gdb/netgdb.c b/sys/gdb/netgdb.c index 82ff8a078495..599841b33eae 100644 --- a/sys/gdb/netgdb.c +++ b/sys/gdb/netgdb.c @@ -82,7 +82,7 @@ __FBSDID("$FreeBSD$"); #include <gdb/netgdb.h> FEATURE(netgdb, "NetGDB support"); -SYSCTL_NODE(_debug_gdb, OID_AUTO, netgdb, CTLFLAG_RD, NULL, +SYSCTL_NODE(_debug_gdb, OID_AUTO, netgdb, CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, "NetGDB parameters"); static unsigned netgdb_debug; |