aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-notif.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/remote-notif.c')
-rw-r--r--gdb/remote-notif.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/remote-notif.c b/gdb/remote-notif.c
index 5a72f40..eee09a9 100644
--- a/gdb/remote-notif.c
+++ b/gdb/remote-notif.c
@@ -38,6 +38,7 @@
#include "event-loop.h"
#include "target.h"
#include "inferior.h"
+#include "gdbcmd.h"
#include <string.h>
@@ -267,4 +268,14 @@ void
_initialize_notif (void)
{
notif_queue = QUEUE_alloc (notif_client_p, notif_xfree);
+
+ add_setshow_boolean_cmd ("notification", no_class, &notif_debug,
+ _("\
+Set debugging of async remote notification."), _("\
+Show debugging of async remote notification."), _("\
+When non-zero, debugging output about async remote notifications"
+" is enabled."),
+ NULL,
+ NULL,
+ &setdebuglist, &showdebuglist);
}