* gas/config/tc-avr.c: Change ISA for devices with USB support to
[external/binutils.git] / gdb / remote-notif.c
index 5a72f40..0f73a52 100644 (file)
@@ -1,6 +1,6 @@
 /* Remote notification in GDB protocol
 
-   Copyright (C) 1988-2012 Free Software Foundation, Inc.
+   Copyright (C) 1988-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #include "event-loop.h"
 #include "target.h"
 #include "inferior.h"
+#include "gdbcmd.h"
 
 #include <string.h>
 
-unsigned int notif_debug = 0;
+int notif_debug = 0;
 
 /* Supported clients of notifications.  */
 
@@ -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);
 }