]>
Commit | Line | Data |
---|---|---|
bd5635a1 | 1 | /* Header file for GDB-specific command-line stuff. |
0239d9b3 | 2 | Copyright 1986, 1989, 1990, 1992 Free Software Foundation, Inc. |
bd5635a1 | 3 | |
0239d9b3 FF |
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. | |
bd5635a1 | 8 | |
0239d9b3 FF |
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. | |
bd5635a1 | 13 | |
0239d9b3 FF |
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., 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
17 | ||
18 | #if !defined (GDBCMD_H) | |
19 | #define GDBCMD_H 1 | |
bd5635a1 RP |
20 | |
21 | #include "command.h" | |
22 | ||
23 | /* Chain containing all defined commands. */ | |
24 | ||
25 | extern struct cmd_list_element *cmdlist; | |
26 | ||
27 | /* Chain containing all defined info subcommands. */ | |
28 | ||
29 | extern struct cmd_list_element *infolist; | |
30 | ||
31 | /* Chain containing all defined enable subcommands. */ | |
32 | ||
33 | extern struct cmd_list_element *enablelist; | |
34 | ||
35 | /* Chain containing all defined disable subcommands. */ | |
36 | ||
37 | extern struct cmd_list_element *disablelist; | |
38 | ||
39 | /* Chain containing all defined delete subcommands. */ | |
40 | ||
41 | extern struct cmd_list_element *deletelist; | |
42 | ||
43 | /* Chain containing all defined "enable breakpoint" subcommands. */ | |
44 | ||
45 | extern struct cmd_list_element *enablebreaklist; | |
46 | ||
47 | /* Chain containing all defined set subcommands */ | |
48 | ||
49 | extern struct cmd_list_element *setlist; | |
50 | ||
0239d9b3 FF |
51 | /* Chain containing all defined unset subcommands */ |
52 | ||
53 | extern struct cmd_list_element *unsetlist; | |
54 | ||
bd5635a1 | 55 | /* Chain containing all defined show subcommands. */ |
0239d9b3 | 56 | |
bd5635a1 RP |
57 | extern struct cmd_list_element *showlist; |
58 | ||
59 | /* Chain containing all defined \"set history\". */ | |
60 | ||
61 | extern struct cmd_list_element *sethistlist; | |
62 | ||
63 | /* Chain containing all defined \"show history\". */ | |
0239d9b3 | 64 | |
bd5635a1 RP |
65 | extern struct cmd_list_element *showhistlist; |
66 | ||
67 | /* Chain containing all defined \"unset history\". */ | |
68 | ||
69 | extern struct cmd_list_element *unsethistlist; | |
70 | ||
0239d9b3 FF |
71 | /* Chain containing all defined maintenance subcommands. */ |
72 | ||
73 | #if MAINTENANCE_CMDS | |
74 | extern struct cmd_list_element *maintenancelist; | |
75 | #endif | |
76 | ||
77 | /* Chain containing all defined "maintenance info" subcommands. */ | |
78 | ||
79 | #if MAINTENANCE_CMDS | |
80 | extern struct cmd_list_element *maintenanceinfolist; | |
81 | #endif | |
82 | ||
83 | extern struct cmd_list_element *setprintlist; | |
84 | ||
85 | extern struct cmd_list_element *showprintlist; | |
86 | ||
87 | extern struct cmd_list_element *setchecklist; | |
88 | ||
89 | extern struct cmd_list_element *showchecklist; | |
90 | ||
91 | extern void | |
92 | execute_command PARAMS ((char *, int)); | |
93 | ||
94 | extern char ** | |
95 | noop_completer PARAMS ((char *)); | |
96 | ||
97 | #endif /* !defined (GDBCMD_H) */ |