2000-12-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / gdbcmd.h
CommitLineData
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.
d9fcf2fb 9 Copyright 1986, 1989, 1990, 1992, 2000 Free Software Foundation, Inc.
c906108c 10
c5aa993b
JM
11 This program is free software; you can redistribute it and/or modify
12 it under the terms of the GNU General Public License as published by
13 the Free Software Foundation; either version 2 of the License, or
14 (at your option) any later version.
c906108c 15
c5aa993b
JM
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU General Public License for more details.
c906108c 20
c5aa993b
JM
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 59 Temple Place - Suite 330,
24 Boston, MA 02111-1307, USA. */
c906108c
SS
25
26#if !defined (GDBCMD_H)
27#define GDBCMD_H 1
28
29#include "command.h"
8b93c638
JM
30#ifdef UI_OUT
31#include "ui-out.h"
32#endif
c906108c
SS
33
34/* Chain containing all defined commands. */
35
36extern struct cmd_list_element *cmdlist;
37
38/* Chain containing all defined info subcommands. */
39
40extern struct cmd_list_element *infolist;
41
42/* Chain containing all defined enable subcommands. */
43
44extern struct cmd_list_element *enablelist;
45
46/* Chain containing all defined disable subcommands. */
47
48extern struct cmd_list_element *disablelist;
49
50/* Chain containing all defined delete subcommands. */
51
52extern struct cmd_list_element *deletelist;
53
54/* Chain containing all defined toggle subcommands. */
55
56extern struct cmd_list_element *togglelist;
57
58/* Chain containing all defined stop subcommands. */
59
60extern struct cmd_list_element *stoplist;
61
62/* Chain containing all defined "enable breakpoint" subcommands. */
63
64extern struct cmd_list_element *enablebreaklist;
65
66/* Chain containing all defined set subcommands */
67
68extern struct cmd_list_element *setlist;
69
70/* Chain containing all defined unset subcommands */
71
72extern struct cmd_list_element *unsetlist;
73
74/* Chain containing all defined show subcommands. */
75
76extern struct cmd_list_element *showlist;
77
78/* Chain containing all defined \"set history\". */
79
80extern struct cmd_list_element *sethistlist;
81
82/* Chain containing all defined \"show history\". */
83
84extern struct cmd_list_element *showhistlist;
85
86/* Chain containing all defined \"unset history\". */
87
88extern struct cmd_list_element *unsethistlist;
89
90/* Chain containing all defined maintenance subcommands. */
91
92extern struct cmd_list_element *maintenancelist;
93
94/* Chain containing all defined "maintenance info" subcommands. */
95
96extern struct cmd_list_element *maintenanceinfolist;
97
98/* Chain containing all defined "maintenance print" subcommands. */
99
100extern struct cmd_list_element *maintenanceprintlist;
101
102extern struct cmd_list_element *setprintlist;
103
104extern struct cmd_list_element *showprintlist;
105
5d161b24
DB
106extern struct cmd_list_element *setdebuglist;
107
108extern struct cmd_list_element *showdebuglist;
109
c906108c
SS
110extern struct cmd_list_element *setchecklist;
111
112extern struct cmd_list_element *showchecklist;
113
a14ed312 114extern void execute_user_command (struct cmd_list_element *, char *);
c906108c 115
a14ed312 116extern void execute_command (char *, int);
c906108c 117
a14ed312 118enum command_control_type execute_control_command (struct command_line *);
c906108c 119
d9fcf2fb
JM
120extern void print_command_line (struct command_line *, unsigned int,
121 struct ui_file *);
8b93c638 122#ifdef UI_OUT
a14ed312
KB
123extern void print_command_lines (struct ui_out *,
124 struct command_line *, unsigned int);
8b93c638 125#endif
c906108c 126
a14ed312 127extern char **noop_completer (char *, char *);
c906108c 128
a14ed312 129extern char **filename_completer (char *, char *);
c906108c 130
c5aa993b 131#endif /* !defined (GDBCMD_H) */
This page took 0.078468 seconds and 4 git commands to generate.