No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / cli / cli-cmds.h
blob1aad03412024bbf3868923f45285be30ddefb400
1 /* Header file for GDB CLI command implementation library.
2 Copyright (c) 2000 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., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA. */
19 #if !defined (CLI_CMDS_H)
20 #define CLI_CMDS_H 1
22 /* Chain containing all defined commands. */
24 extern struct cmd_list_element *cmdlist;
26 /* Chain containing all defined info subcommands. */
28 extern struct cmd_list_element *infolist;
30 /* Chain containing all defined enable subcommands. */
32 extern struct cmd_list_element *enablelist;
34 /* Chain containing all defined disable subcommands. */
36 extern struct cmd_list_element *disablelist;
38 /* Chain containing all defined delete subcommands. */
40 extern struct cmd_list_element *deletelist;
42 /* Chain containing all defined toggle subcommands. */
44 extern struct cmd_list_element *togglelist;
46 /* Chain containing all defined stop subcommands. */
48 extern struct cmd_list_element *stoplist;
50 /* Chain containing all defined "enable breakpoint" subcommands. */
52 extern struct cmd_list_element *enablebreaklist;
54 /* Chain containing all defined set subcommands */
56 extern struct cmd_list_element *setlist;
58 /* Chain containing all defined unset subcommands */
60 extern struct cmd_list_element *unsetlist;
62 /* Chain containing all defined show subcommands. */
64 extern struct cmd_list_element *showlist;
66 /* Chain containing all defined \"set history\". */
68 extern struct cmd_list_element *sethistlist;
70 /* Chain containing all defined \"show history\". */
72 extern struct cmd_list_element *showhistlist;
74 /* Chain containing all defined \"unset history\". */
76 extern struct cmd_list_element *unsethistlist;
78 /* Chain containing all defined maintenance subcommands. */
80 extern struct cmd_list_element *maintenancelist;
82 /* Chain containing all defined "maintenance info" subcommands. */
84 extern struct cmd_list_element *maintenanceinfolist;
86 /* Chain containing all defined "maintenance print" subcommands. */
88 extern struct cmd_list_element *maintenanceprintlist;
90 extern struct cmd_list_element *setprintlist;
92 extern struct cmd_list_element *showprintlist;
94 extern struct cmd_list_element *setdebuglist;
96 extern struct cmd_list_element *showdebuglist;
98 extern struct cmd_list_element *setchecklist;
100 extern struct cmd_list_element *showchecklist;
102 /* Exported to gdb/top.c */
104 void init_cmd_lists (void);
106 void init_cli_cmds (void);
108 int is_complete_command (struct cmd_list_element *cmd);
110 /* Exported to gdb/main.c */
112 extern void cd_command (char *, int);
114 /* Exported to gdb/top.c and gdb/main.c */
116 extern void quit_command (char *, int);
118 extern void source_command (char *, int);
120 /* Used everywhere whenever at least one parameter is required and
121 none is specified. */
123 extern NORETURN void error_no_arg (char *) ATTR_NORETURN;
125 #endif /* !defined (CLI_CMDS_H) */