GDB (API)
/home/stan/gdb/src/gdb/gdbcmd.h
Go to the documentation of this file.
00001 /* ***DEPRECATED***  The gdblib files must not be calling/using things in any
00002    of the possible command languages.  If necessary, a hook (that may be
00003    present or not) must be used and set to the appropriate routine by any
00004    command language that cares about it.  If you are having to include this
00005    file you are possibly doing things the old way.  This file will disapear.
00006    fnasser@redhat.com    */
00007 
00008 /* Header file for GDB-specific command-line stuff.
00009    Copyright (C) 1986-2013 Free Software Foundation, Inc.
00010 
00011    This program is free software; you can redistribute it and/or modify
00012    it under the terms of the GNU General Public License as published by
00013    the Free Software Foundation; either version 3 of the License, or
00014    (at your option) any later version.
00015 
00016    This program is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019    GNU General Public License for more details.
00020 
00021    You should have received a copy of the GNU General Public License
00022    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00023 
00024 #if !defined (GDBCMD_H)
00025 #define GDBCMD_H 1
00026 
00027 #include "command.h"
00028 #include "ui-out.h"
00029 
00030 /* Chain containing all defined commands.  */
00031 
00032 extern struct cmd_list_element *cmdlist;
00033 
00034 /* Chain containing all defined info subcommands.  */
00035 
00036 extern struct cmd_list_element *infolist;
00037 
00038 /* Chain containing all defined enable subcommands.  */
00039 
00040 extern struct cmd_list_element *enablelist;
00041 
00042 /* Chain containing all defined disable subcommands.  */
00043 
00044 extern struct cmd_list_element *disablelist;
00045 
00046 /* Chain containing all defined delete subcommands.  */
00047 
00048 extern struct cmd_list_element *deletelist;
00049 
00050 /* Chain containing all defined detach subcommands.  */
00051 
00052 extern struct cmd_list_element *detachlist;
00053 
00054 /* Chain containing all defined kill subcommands.  */
00055 
00056 extern struct cmd_list_element *killlist;
00057 
00058 /* Chain containing all defined stop subcommands.  */
00059 
00060 extern struct cmd_list_element *stoplist;
00061 
00062 /* Chain containing all defined set subcommands.  */
00063 
00064 extern struct cmd_list_element *setlist;
00065 
00066 /* Chain containing all defined unset subcommands.  */
00067 
00068 extern struct cmd_list_element *unsetlist;
00069 
00070 /* Chain containing all defined show subcommands.  */
00071 
00072 extern struct cmd_list_element *showlist;
00073 
00074 /* Chain containing all defined \"set history\".  */
00075 
00076 extern struct cmd_list_element *sethistlist;
00077 
00078 /* Chain containing all defined \"show history\".  */
00079 
00080 extern struct cmd_list_element *showhistlist;
00081 
00082 /* Chain containing all defined \"unset history\".  */
00083 
00084 extern struct cmd_list_element *unsethistlist;
00085 
00086 /* Chain containing all defined maintenance subcommands.  */
00087 
00088 extern struct cmd_list_element *maintenancelist;
00089 
00090 /* Chain containing all defined "maintenance info" subcommands.  */
00091 
00092 extern struct cmd_list_element *maintenanceinfolist;
00093 
00094 /* Chain containing all defined "maintenance print" subcommands.  */
00095 
00096 extern struct cmd_list_element *maintenanceprintlist;
00097 
00098 /* Chain containing all defined "maintenance set" subcommands.  */
00099 
00100 extern struct cmd_list_element *maintenance_set_cmdlist;
00101 
00102 /* Chain containing all defined "maintenance show" subcommands.  */
00103 
00104 extern struct cmd_list_element *maintenance_show_cmdlist;
00105 
00106 extern struct cmd_list_element *setprintlist;
00107 
00108 extern struct cmd_list_element *showprintlist;
00109 
00110 extern struct cmd_list_element *setprintrawlist;
00111 
00112 extern struct cmd_list_element *showprintrawlist;
00113 
00114 extern struct cmd_list_element *setprinttypelist;
00115 
00116 extern struct cmd_list_element *showprinttypelist;
00117 
00118 extern struct cmd_list_element *setdebuglist;
00119 
00120 extern struct cmd_list_element *showdebuglist;
00121 
00122 extern struct cmd_list_element *setchecklist;
00123 
00124 extern struct cmd_list_element *showchecklist;
00125 
00126 /* Chain containing all defined "save" subcommands.  */
00127 
00128 extern struct cmd_list_element *save_cmdlist;
00129 
00130 extern void execute_command (char *, int);
00131 extern char *execute_command_to_string (char *p, int from_tty);
00132 
00133 enum command_control_type execute_control_command (struct command_line *);
00134 
00135 extern void print_command_line (struct command_line *, unsigned int,
00136                                 struct ui_file *);
00137 extern void print_command_lines (struct ui_out *,
00138                                  struct command_line *, unsigned int);
00139 
00140 #endif /* !defined (GDBCMD_H) */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines