Fix incorrect reference to source files
[deliverable/binutils-gdb.git] / gdb / command.h
index bdf625b5cfb2463283faea276b2eb1544d3c9057..965d91fdc15d3f40272a353a0feec019ce35a144 100644 (file)
@@ -1,6 +1,6 @@
 /* Header file for command creation.
 
-   Copyright (C) 1986-2015 Free Software Foundation, Inc.
+   Copyright (C) 1986-2016 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -115,6 +115,17 @@ struct cmd_list_element;
 
 typedef void cmd_cfunc_ftype (char *args, int from_tty);
 
+/* This structure specifies notifications to be suppressed by a cli
+   command interpreter.  */
+
+struct cli_suppress_notification
+{
+  /* Inferior, thread, frame selected notification suppressed?  */
+  int user_selected_context;
+};
+
+extern struct cli_suppress_notification cli_suppress_notification;
+
 /* Forward-declarations of the entry-points of cli/cli-decode.c.  */
 
 /* API to the manipulation of command lists.  */
@@ -218,6 +229,11 @@ extern struct cmd_list_element *add_com (const char *, enum command_class,
 extern struct cmd_list_element *add_com_alias (const char *, const char *,
                                               enum command_class, int);
 
+extern struct cmd_list_element *add_com_suppress_notification
+                      (const char *name, enum command_class theclass,
+                       cmd_cfunc_ftype *fun, const char *doc,
+                       int *supress_notification);
+
 extern struct cmd_list_element *add_info (const char *,
                                          cmd_cfunc_ftype *fun,
                                          const char *);
This page took 0.024223 seconds and 4 git commands to generate.