remote-notif.[h|c]:notif_debug: Change type to int.
authorPedro Alves <palves@redhat.com>
Thu, 7 Mar 2013 17:52:58 +0000 (17:52 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 7 Mar 2013 17:52:58 +0000 (17:52 +0000)
notif_debug is installed as variable of a "signed" command:

  add_setshow_boolean_cmd ("notification", no_class, &notif_debug,
                           _("\

and:

command.h:extern void add_setshow_boolean_cmd (char *name,
command.h-                                   enum command_class class,
command.h-                                   int *var,

2013-03-07  Pedro Alves  <palves@redhat.com>

* remote-notif.c (notif_debug): Change type to int.
* remote-notif.h (notif_debug): Likewise.

gdb/ChangeLog
gdb/remote-notif.c
gdb/remote-notif.h

index 6e81198..59225c4 100644 (file)
@@ -1,5 +1,10 @@
 2013-03-07  Pedro Alves  <palves@redhat.com>
 
+       * remote-notif.c (notif_debug): Change type to int.
+       * remote-notif.h (notif_debug): Likewise.
+
+2013-03-07  Pedro Alves  <palves@redhat.com>
+
        * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
 
 2013-03-07  Pedro Alves  <palves@redhat.com>
index c377f3e..0f73a52 100644 (file)
@@ -42,7 +42,7 @@
 
 #include <string.h>
 
-unsigned int notif_debug = 0;
+int notif_debug = 0;
 
 /* Supported clients of notifications.  */
 
index b2a9b8e..da4fdea 100644 (file)
@@ -80,6 +80,6 @@ void remote_notif_unregister_async_event_handler (void);
 void remote_notif_process (struct notif_client *except);
 extern struct notif_client notif_client_stop;
 
-extern unsigned int notif_debug;
+extern int notif_debug;
 
 #endif /* REMOTE_NOTIF_H */