* c-exp.y (enum token_flags): New.
[deliverable/binutils-gdb.git] / gdb / cli / cli-cmds.h
CommitLineData
d318976c 1/* Header file for GDB CLI command implementation library.
0b302171 2 Copyright (c) 2000, 2006-2012 Free Software Foundation, Inc.
d318976c
FN
3
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
a9762ec7 6 the Free Software Foundation; either version 3 of the License, or
d318976c
FN
7 (at your option) any later version.
8
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.
13
14 You should have received a copy of the GNU General Public License
a9762ec7 15 along with this program. If not, see <http://www.gnu.org/licenses/>. */
d318976c
FN
16
17#if !defined (CLI_CMDS_H)
18#define CLI_CMDS_H 1
19
20/* Chain containing all defined commands. */
21
22extern struct cmd_list_element *cmdlist;
23
24/* Chain containing all defined info subcommands. */
25
26extern struct cmd_list_element *infolist;
27
ebcd3b23 28/* Chain containing all defined enable subcommands. */
d318976c
FN
29
30extern struct cmd_list_element *enablelist;
31
ebcd3b23 32/* Chain containing all defined disable subcommands. */
d318976c
FN
33
34extern struct cmd_list_element *disablelist;
35
ebcd3b23 36/* Chain containing all defined delete subcommands. */
d318976c
FN
37
38extern struct cmd_list_element *deletelist;
39
ebcd3b23 40/* Chain containing all defined detach subcommands. */
f73adfeb
AS
41
42extern struct cmd_list_element *detachlist;
43
2277426b
PA
44/* Chain containing all defined kill subcommands. */
45
46extern struct cmd_list_element *killlist;
47
ebcd3b23 48/* Chain containing all defined toggle subcommands. */
d318976c
FN
49
50extern struct cmd_list_element *togglelist;
51
ebcd3b23 52/* Chain containing all defined stop subcommands. */
d318976c
FN
53
54extern struct cmd_list_element *stoplist;
55
ebcd3b23 56/* Chain containing all defined "enable breakpoint" subcommands. */
d318976c
FN
57
58extern struct cmd_list_element *enablebreaklist;
59
60/* Chain containing all defined set subcommands */
61
62extern struct cmd_list_element *setlist;
63
64/* Chain containing all defined unset subcommands */
65
66extern struct cmd_list_element *unsetlist;
67
68/* Chain containing all defined show subcommands. */
69
70extern struct cmd_list_element *showlist;
71
72/* Chain containing all defined \"set history\". */
73
74extern struct cmd_list_element *sethistlist;
75
76/* Chain containing all defined \"show history\". */
77
78extern struct cmd_list_element *showhistlist;
79
80/* Chain containing all defined \"unset history\". */
81
82extern struct cmd_list_element *unsethistlist;
83
ebcd3b23 84/* Chain containing all defined maintenance subcommands. */
d318976c
FN
85
86extern struct cmd_list_element *maintenancelist;
87
ebcd3b23 88/* Chain containing all defined "maintenance info" subcommands. */
d318976c
FN
89
90extern struct cmd_list_element *maintenanceinfolist;
91
ebcd3b23 92/* Chain containing all defined "maintenance print" subcommands. */
d318976c
FN
93
94extern struct cmd_list_element *maintenanceprintlist;
95
96extern struct cmd_list_element *setprintlist;
97
98extern struct cmd_list_element *showprintlist;
99
100extern struct cmd_list_element *setdebuglist;
101
102extern struct cmd_list_element *showdebuglist;
103
104extern struct cmd_list_element *setchecklist;
105
106extern struct cmd_list_element *showchecklist;
107
1bfeeb0f
JL
108extern struct cmd_list_element *skiplist;
109
d318976c
FN
110/* Exported to gdb/top.c */
111
112void init_cmd_lists (void);
113
114void init_cli_cmds (void);
115
bbaca940 116int is_complete_command (struct cmd_list_element *cmd);
d318976c
FN
117
118/* Exported to gdb/main.c */
119
120extern void cd_command (char *, int);
121
122/* Exported to gdb/top.c and gdb/main.c */
123
124extern void quit_command (char *, int);
125
16026cd7 126extern void source_script (char *, int);
d318976c 127
8a1ea21f
DE
128/* Exported to objfiles.c. */
129
130extern int find_and_open_script (const char *file, int search_path,
131 FILE **streamp, char **full_path);
132
16026cd7
AS
133/* Command tracing state. */
134
135extern int source_verbose;
136extern int trace_commands;
137
d318976c 138#endif /* !defined (CLI_CMDS_H) */
This page took 0.714405 seconds and 4 git commands to generate.