diff options
author | qiyao <qiyao> | 2012-12-15 04:06:38 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-12-15 04:06:38 +0000 |
commit | c978718d0359f330421b037c26b8000350c2f762 (patch) | |
tree | b72ff58e164cf84b490e4a3ac7af42ab1a056e5d /gdb/remote-notif.c | |
parent | 529a26c810b9adbba5756cd381e06fe8d6705565 (diff) | |
download | gdb-c978718d0359f330421b037c26b8000350c2f762.tar.gz |
gdb/
2012-12-15 Yao Qi <yao@codesourcery.com>
* remote-notif.c (_initialize_notif): Add new commands
'set debug notification' and 'show debug notification'.
* NEWS: Mention these new commands.
gdb/doc/
2012-12-15 Yao Qi <yao@codesourcery.com>
* gdb.texinfo (Debugging Output): Document 'set debug
notification' and 'show debug notification'.
Diffstat (limited to 'gdb/remote-notif.c')
-rw-r--r-- | gdb/remote-notif.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/remote-notif.c b/gdb/remote-notif.c index 5a72f408137..eee09a93c22 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, ¬if_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); } |