1 /* Header file for GDB CLI command implementation library.
2 Copyright (c) 2000,2006,2007,2008,2009,2010 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 3 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, see <http://www.gnu.org/licenses/>. */
17 #if !defined (CLI_CMDS_H)
20 /* Chain containing all defined commands. */
22 extern struct cmd_list_element
*cmdlist
;
24 /* Chain containing all defined info subcommands. */
26 extern struct cmd_list_element
*infolist
;
28 /* Chain containing all defined enable subcommands. */
30 extern struct cmd_list_element
*enablelist
;
32 /* Chain containing all defined disable subcommands. */
34 extern struct cmd_list_element
*disablelist
;
36 /* Chain containing all defined delete subcommands. */
38 extern struct cmd_list_element
*deletelist
;
40 /* Chain containing all defined detach subcommands. */
42 extern struct cmd_list_element
*detachlist
;
44 /* Chain containing all defined kill subcommands. */
46 extern struct cmd_list_element
*killlist
;
48 /* Chain containing all defined toggle subcommands. */
50 extern struct cmd_list_element
*togglelist
;
52 /* Chain containing all defined stop subcommands. */
54 extern struct cmd_list_element
*stoplist
;
56 /* Chain containing all defined "enable breakpoint" subcommands. */
58 extern struct cmd_list_element
*enablebreaklist
;
60 /* Chain containing all defined set subcommands */
62 extern struct cmd_list_element
*setlist
;
64 /* Chain containing all defined unset subcommands */
66 extern struct cmd_list_element
*unsetlist
;
68 /* Chain containing all defined show subcommands. */
70 extern struct cmd_list_element
*showlist
;
72 /* Chain containing all defined \"set history\". */
74 extern struct cmd_list_element
*sethistlist
;
76 /* Chain containing all defined \"show history\". */
78 extern struct cmd_list_element
*showhistlist
;
80 /* Chain containing all defined \"unset history\". */
82 extern struct cmd_list_element
*unsethistlist
;
84 /* Chain containing all defined maintenance subcommands. */
86 extern struct cmd_list_element
*maintenancelist
;
88 /* Chain containing all defined "maintenance info" subcommands. */
90 extern struct cmd_list_element
*maintenanceinfolist
;
92 /* Chain containing all defined "maintenance print" subcommands. */
94 extern struct cmd_list_element
*maintenanceprintlist
;
96 extern struct cmd_list_element
*setprintlist
;
98 extern struct cmd_list_element
*showprintlist
;
100 extern struct cmd_list_element
*setdebuglist
;
102 extern struct cmd_list_element
*showdebuglist
;
104 extern struct cmd_list_element
*setchecklist
;
106 extern struct cmd_list_element
*showchecklist
;
108 /* Exported to gdb/top.c */
110 void init_cmd_lists (void);
112 void init_cli_cmds (void);
114 int is_complete_command (struct cmd_list_element
*cmd
);
116 /* Exported to gdb/main.c */
118 extern void cd_command (char *, int);
120 /* Exported to gdb/top.c and gdb/main.c */
122 extern void quit_command (char *, int);
124 extern void source_script (char *, int);
126 /* Exported to objfiles.c. */
128 extern int find_and_open_script (const char *file
, int search_path
,
129 FILE **streamp
, char **full_path
);
131 /* Command tracing state. */
133 extern int source_verbose
;
134 extern int trace_commands
;
136 #endif /* !defined (CLI_CMDS_H) */
This page took 0.032293 seconds and 4 git commands to generate.