1 /* Header file for GDB-specific command-line stuff.
2 Copyright 1986, 1989, 1990, 1992 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
19 #if !defined (GDBCMD_H)
24 /* Chain containing all defined commands. */
26 extern struct cmd_list_element *cmdlist;
28 /* Chain containing all defined info subcommands. */
30 extern struct cmd_list_element *infolist;
32 /* Chain containing all defined enable subcommands. */
34 extern struct cmd_list_element *enablelist;
36 /* Chain containing all defined disable subcommands. */
38 extern struct cmd_list_element *disablelist;
40 /* Chain containing all defined delete subcommands. */
42 extern struct cmd_list_element *deletelist;
44 /* Chain containing all defined toggle subcommands. */
46 extern struct cmd_list_element *togglelist;
48 /* Chain containing all defined stop subcommands. */
50 extern struct cmd_list_element *stoplist;
52 /* Chain containing all defined "enable breakpoint" subcommands. */
54 extern struct cmd_list_element *enablebreaklist;
56 /* Chain containing all defined set subcommands */
58 extern struct cmd_list_element *setlist;
60 /* Chain containing all defined unset subcommands */
62 extern struct cmd_list_element *unsetlist;
64 /* Chain containing all defined show subcommands. */
66 extern struct cmd_list_element *showlist;
68 /* Chain containing all defined \"set history\". */
70 extern struct cmd_list_element *sethistlist;
72 /* Chain containing all defined \"show history\". */
74 extern struct cmd_list_element *showhistlist;
76 /* Chain containing all defined \"unset history\". */
78 extern struct cmd_list_element *unsethistlist;
80 /* Chain containing all defined maintenance subcommands. */
82 extern struct cmd_list_element *maintenancelist;
84 /* Chain containing all defined "maintenance info" subcommands. */
86 extern struct cmd_list_element *maintenanceinfolist;
88 /* Chain containing all defined "maintenance print" subcommands. */
90 extern struct cmd_list_element *maintenanceprintlist;
92 extern struct cmd_list_element *setprintlist;
94 extern struct cmd_list_element *showprintlist;
96 extern struct cmd_list_element *setchecklist;
98 extern struct cmd_list_element *showchecklist;
101 execute_user_command PARAMS ((struct cmd_list_element *, char *));
104 execute_command PARAMS ((char *, int));
106 enum command_control_type
107 execute_control_command PARAMS ((struct command_line *));
110 print_command_line PARAMS ((struct command_line *, unsigned int, GDB_FILE *));
112 extern char **noop_completer PARAMS ((char *, char *));
114 extern char **filename_completer PARAMS ((char *, char *));
116 #endif /* !defined (GDBCMD_H) */