diff options
author | Pedro Alves <palves@redhat.com> | 2013-03-07 17:52:57 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-03-07 17:52:57 +0000 |
commit | 4fc89e5ff47fef8279872bbe956145b7e61141e0 (patch) | |
tree | 9ff338e6b0971d0bc68930c054b7fa19cfd11039 | |
parent | fc4f53b3094a7dada7dec096d2fbad55a0bbc184 (diff) | |
download | gdb-4fc89e5ff47fef8279872bbe956145b7e61141e0.tar.gz |
remote-notif.[h|c]:notif_debug: Change type to int.
notif_debug is installed as variable of a "signed" command:
add_setshow_boolean_cmd ("notification", no_class, ¬if_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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote-notif.c | 2 | ||||
-rw-r--r-- | gdb/remote-notif.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e81198d03f..59225c4a6fa 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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> diff --git a/gdb/remote-notif.c b/gdb/remote-notif.c index c377f3e339a..0f73a52c958 100644 --- a/gdb/remote-notif.c +++ b/gdb/remote-notif.c @@ -42,7 +42,7 @@ #include <string.h> -unsigned int notif_debug = 0; +int notif_debug = 0; /* Supported clients of notifications. */ diff --git a/gdb/remote-notif.h b/gdb/remote-notif.h index b2a9b8ea5f9..da4fdea1ce4 100644 --- a/gdb/remote-notif.h +++ b/gdb/remote-notif.h @@ -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 */ |