1 /* Header file for GDB CLI command implementation library.
2 Copyright (c) 2000,2006,2007,2008,2009,2010,2011
3 Free Software Foundation, Inc.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
18 #if !defined (CLI_CMDS_H)
21 /* Chain containing all defined commands. */
23 extern struct cmd_list_element
*cmdlist
;
25 /* Chain containing all defined info subcommands. */
27 extern struct cmd_list_element
*infolist
;
29 /* Chain containing all defined enable subcommands. */
31 extern struct cmd_list_element
*enablelist
;
33 /* Chain containing all defined disable subcommands. */
35 extern struct cmd_list_element
*disablelist
;
37 /* Chain containing all defined delete subcommands. */
39 extern struct cmd_list_element
*deletelist
;
41 /* Chain containing all defined detach subcommands. */
43 extern struct cmd_list_element
*detachlist
;
45 /* Chain containing all defined kill subcommands. */
47 extern struct cmd_list_element
*killlist
;
49 /* Chain containing all defined toggle subcommands. */
51 extern struct cmd_list_element
*togglelist
;
53 /* Chain containing all defined stop subcommands. */
55 extern struct cmd_list_element
*stoplist
;
57 /* Chain containing all defined "enable breakpoint" subcommands. */
59 extern struct cmd_list_element
*enablebreaklist
;
61 /* Chain containing all defined set subcommands */
63 extern struct cmd_list_element
*setlist
;
65 /* Chain containing all defined unset subcommands */
67 extern struct cmd_list_element
*unsetlist
;
69 /* Chain containing all defined show subcommands. */
71 extern struct cmd_list_element
*showlist
;
73 /* Chain containing all defined \"set history\". */
75 extern struct cmd_list_element
*sethistlist
;
77 /* Chain containing all defined \"show history\". */
79 extern struct cmd_list_element
*showhistlist
;
81 /* Chain containing all defined \"unset history\". */
83 extern struct cmd_list_element
*unsethistlist
;
85 /* Chain containing all defined maintenance subcommands. */
87 extern struct cmd_list_element
*maintenancelist
;
89 /* Chain containing all defined "maintenance info" subcommands. */
91 extern struct cmd_list_element
*maintenanceinfolist
;
93 /* Chain containing all defined "maintenance print" subcommands. */
95 extern struct cmd_list_element
*maintenanceprintlist
;
97 extern struct cmd_list_element
*setprintlist
;
99 extern struct cmd_list_element
*showprintlist
;
101 extern struct cmd_list_element
*setdebuglist
;
103 extern struct cmd_list_element
*showdebuglist
;
105 extern struct cmd_list_element
*setchecklist
;
107 extern struct cmd_list_element
*showchecklist
;
109 /* Exported to gdb/top.c */
111 void init_cmd_lists (void);
113 void init_cli_cmds (void);
115 int is_complete_command (struct cmd_list_element
*cmd
);
117 /* Exported to gdb/main.c */
119 extern void cd_command (char *, int);
121 /* Exported to gdb/top.c and gdb/main.c */
123 extern void quit_command (char *, int);
125 extern void source_script (char *, int);
127 /* Exported to objfiles.c. */
129 extern int find_and_open_script (const char *file
, int search_path
,
130 FILE **streamp
, char **full_path
);
132 /* Command tracing state. */
134 extern int source_verbose
;
135 extern int trace_commands
;
137 #endif /* !defined (CLI_CMDS_H) */
This page took 0.033392 seconds and 4 git commands to generate.