Commit | Line | Data |
---|---|---|
d318976c FN |
1 | /* ***DEPRECATED*** The gdblib files must not be calling/using things in any |
2 | of the possible command languages. If necessary, a hook (that may be | |
3 | present or not) must be used and set to the appropriate routine by any | |
4 | command language that cares about it. If you are having to include this | |
5 | file you are possibly doing things the old way. This file will disapear. | |
6 | fnasser@redhat.com */ | |
7 | ||
c906108c | 8 | /* Header file for GDB-specific command-line stuff. |
8926118c AC |
9 | Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, |
10 | 2000, 2002 Free Software Foundation, Inc. | |
c906108c | 11 | |
c5aa993b JM |
12 | This program is free software; you can redistribute it and/or modify |
13 | it under the terms of the GNU General Public License as published by | |
14 | the Free Software Foundation; either version 2 of the License, or | |
15 | (at your option) any later version. | |
c906108c | 16 | |
c5aa993b JM |
17 | This program is distributed in the hope that it will be useful, |
18 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
20 | GNU General Public License for more details. | |
c906108c | 21 | |
c5aa993b JM |
22 | You should have received a copy of the GNU General Public License |
23 | along with this program; if not, write to the Free Software | |
24 | Foundation, Inc., 59 Temple Place - Suite 330, | |
25 | Boston, MA 02111-1307, USA. */ | |
c906108c SS |
26 | |
27 | #if !defined (GDBCMD_H) | |
28 | #define GDBCMD_H 1 | |
29 | ||
30 | #include "command.h" | |
8b93c638 | 31 | #include "ui-out.h" |
c906108c SS |
32 | |
33 | /* Chain containing all defined commands. */ | |
34 | ||
35 | extern struct cmd_list_element *cmdlist; | |
36 | ||
37 | /* Chain containing all defined info subcommands. */ | |
38 | ||
39 | extern struct cmd_list_element *infolist; | |
40 | ||
d3f17821 | 41 | /* Chain containing all defined enable subcommands. */ |
c906108c SS |
42 | |
43 | extern struct cmd_list_element *enablelist; | |
44 | ||
d3f17821 | 45 | /* Chain containing all defined disable subcommands. */ |
c906108c SS |
46 | |
47 | extern struct cmd_list_element *disablelist; | |
48 | ||
d3f17821 | 49 | /* Chain containing all defined delete subcommands. */ |
c906108c SS |
50 | |
51 | extern struct cmd_list_element *deletelist; | |
52 | ||
d3f17821 | 53 | /* Chain containing all defined toggle subcommands. */ |
c906108c SS |
54 | |
55 | extern struct cmd_list_element *togglelist; | |
56 | ||
d3f17821 | 57 | /* Chain containing all defined stop subcommands. */ |
c906108c SS |
58 | |
59 | extern struct cmd_list_element *stoplist; | |
60 | ||
d3f17821 | 61 | /* Chain containing all defined "enable breakpoint" subcommands. */ |
c906108c SS |
62 | |
63 | extern struct cmd_list_element *enablebreaklist; | |
64 | ||
d3f17821 | 65 | /* Chain containing all defined set subcommands. */ |
c906108c SS |
66 | |
67 | extern struct cmd_list_element *setlist; | |
68 | ||
d3f17821 | 69 | /* Chain containing all defined unset subcommands. */ |
c906108c SS |
70 | |
71 | extern struct cmd_list_element *unsetlist; | |
72 | ||
73 | /* Chain containing all defined show subcommands. */ | |
74 | ||
75 | extern struct cmd_list_element *showlist; | |
76 | ||
77 | /* Chain containing all defined \"set history\". */ | |
78 | ||
79 | extern struct cmd_list_element *sethistlist; | |
80 | ||
81 | /* Chain containing all defined \"show history\". */ | |
82 | ||
83 | extern struct cmd_list_element *showhistlist; | |
84 | ||
85 | /* Chain containing all defined \"unset history\". */ | |
86 | ||
87 | extern struct cmd_list_element *unsethistlist; | |
88 | ||
d3f17821 | 89 | /* Chain containing all defined maintenance subcommands. */ |
c906108c SS |
90 | |
91 | extern struct cmd_list_element *maintenancelist; | |
92 | ||
d3f17821 | 93 | /* Chain containing all defined "maintenance info" subcommands. */ |
c906108c SS |
94 | |
95 | extern struct cmd_list_element *maintenanceinfolist; | |
96 | ||
d3f17821 | 97 | /* Chain containing all defined "maintenance print" subcommands. */ |
c906108c SS |
98 | |
99 | extern struct cmd_list_element *maintenanceprintlist; | |
100 | ||
d3f17821 | 101 | /* Chain containing all defined "maintenance set" subcommands. */ |
ae038cb0 DJ |
102 | |
103 | extern struct cmd_list_element *maintenance_set_cmdlist; | |
104 | ||
d3f17821 | 105 | /* Chain containing all defined "maintenance show" subcommands. */ |
ae038cb0 DJ |
106 | |
107 | extern struct cmd_list_element *maintenance_show_cmdlist; | |
108 | ||
c906108c SS |
109 | extern struct cmd_list_element *setprintlist; |
110 | ||
111 | extern struct cmd_list_element *showprintlist; | |
112 | ||
5d161b24 DB |
113 | extern struct cmd_list_element *setdebuglist; |
114 | ||
115 | extern struct cmd_list_element *showdebuglist; | |
116 | ||
c906108c SS |
117 | extern struct cmd_list_element *setchecklist; |
118 | ||
119 | extern struct cmd_list_element *showchecklist; | |
120 | ||
a14ed312 | 121 | extern void execute_command (char *, int); |
c906108c | 122 | |
a14ed312 | 123 | enum command_control_type execute_control_command (struct command_line *); |
c906108c | 124 | |
d9fcf2fb JM |
125 | extern void print_command_line (struct command_line *, unsigned int, |
126 | struct ui_file *); | |
a14ed312 KB |
127 | extern void print_command_lines (struct ui_out *, |
128 | struct command_line *, unsigned int); | |
c906108c | 129 | |
c5aa993b | 130 | #endif /* !defined (GDBCMD_H) */ |