* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
[deliverable/binutils-gdb.git] / gdb / gdbcmd.h
... / ...
CommitLineData
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
8/* Header file for GDB-specific command-line stuff.
9 Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000
10 Free Software Foundation, Inc.
11
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.
16
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.
21
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. */
26
27#if !defined (GDBCMD_H)
28#define GDBCMD_H 1
29
30#include "command.h"
31#ifdef UI_OUT
32#include "ui-out.h"
33#endif
34
35/* Chain containing all defined commands. */
36
37extern struct cmd_list_element *cmdlist;
38
39/* Chain containing all defined info subcommands. */
40
41extern struct cmd_list_element *infolist;
42
43/* Chain containing all defined enable subcommands. */
44
45extern struct cmd_list_element *enablelist;
46
47/* Chain containing all defined disable subcommands. */
48
49extern struct cmd_list_element *disablelist;
50
51/* Chain containing all defined delete subcommands. */
52
53extern struct cmd_list_element *deletelist;
54
55/* Chain containing all defined toggle subcommands. */
56
57extern struct cmd_list_element *togglelist;
58
59/* Chain containing all defined stop subcommands. */
60
61extern struct cmd_list_element *stoplist;
62
63/* Chain containing all defined "enable breakpoint" subcommands. */
64
65extern struct cmd_list_element *enablebreaklist;
66
67/* Chain containing all defined set subcommands */
68
69extern struct cmd_list_element *setlist;
70
71/* Chain containing all defined unset subcommands */
72
73extern struct cmd_list_element *unsetlist;
74
75/* Chain containing all defined show subcommands. */
76
77extern struct cmd_list_element *showlist;
78
79/* Chain containing all defined \"set history\". */
80
81extern struct cmd_list_element *sethistlist;
82
83/* Chain containing all defined \"show history\". */
84
85extern struct cmd_list_element *showhistlist;
86
87/* Chain containing all defined \"unset history\". */
88
89extern struct cmd_list_element *unsethistlist;
90
91/* Chain containing all defined maintenance subcommands. */
92
93extern struct cmd_list_element *maintenancelist;
94
95/* Chain containing all defined "maintenance info" subcommands. */
96
97extern struct cmd_list_element *maintenanceinfolist;
98
99/* Chain containing all defined "maintenance print" subcommands. */
100
101extern struct cmd_list_element *maintenanceprintlist;
102
103extern struct cmd_list_element *setprintlist;
104
105extern struct cmd_list_element *showprintlist;
106
107extern struct cmd_list_element *setdebuglist;
108
109extern struct cmd_list_element *showdebuglist;
110
111extern struct cmd_list_element *setchecklist;
112
113extern struct cmd_list_element *showchecklist;
114
115extern void execute_user_command (struct cmd_list_element *, char *);
116
117extern void execute_command (char *, int);
118
119enum command_control_type execute_control_command (struct command_line *);
120
121extern void print_command_line (struct command_line *, unsigned int,
122 struct ui_file *);
123#ifdef UI_OUT
124extern void print_command_lines (struct ui_out *,
125 struct command_line *, unsigned int);
126#endif
127
128extern char **noop_completer (char *, char *);
129
130extern char **filename_completer (char *, char *);
131
132#endif /* !defined (GDBCMD_H) */
This page took 0.024273 seconds and 4 git commands to generate.