]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/gdbcmd.h
2000-11-30 Philip Blundell <pb@futuretv.com>
[thirdparty/binutils-gdb.git] / gdb / gdbcmd.h
CommitLineData
c906108c 1/* Header file for GDB-specific command-line stuff.
d9fcf2fb 2 Copyright 1986, 1989, 1990, 1992, 2000 Free Software Foundation, Inc.
c906108c 3
c5aa993b
JM
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.
c906108c 8
c5aa993b
JM
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.
c906108c 13
c5aa993b
JM
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., 59 Temple Place - Suite 330,
17 Boston, MA 02111-1307, USA. */
c906108c
SS
18
19#if !defined (GDBCMD_H)
20#define GDBCMD_H 1
21
22#include "command.h"
8b93c638
JM
23#ifdef UI_OUT
24#include "ui-out.h"
25#endif
c906108c
SS
26
27/* Chain containing all defined commands. */
28
29extern struct cmd_list_element *cmdlist;
30
31/* Chain containing all defined info subcommands. */
32
33extern struct cmd_list_element *infolist;
34
35/* Chain containing all defined enable subcommands. */
36
37extern struct cmd_list_element *enablelist;
38
39/* Chain containing all defined disable subcommands. */
40
41extern struct cmd_list_element *disablelist;
42
43/* Chain containing all defined delete subcommands. */
44
45extern struct cmd_list_element *deletelist;
46
47/* Chain containing all defined toggle subcommands. */
48
49extern struct cmd_list_element *togglelist;
50
51/* Chain containing all defined stop subcommands. */
52
53extern struct cmd_list_element *stoplist;
54
55/* Chain containing all defined "enable breakpoint" subcommands. */
56
57extern struct cmd_list_element *enablebreaklist;
58
59/* Chain containing all defined set subcommands */
60
61extern struct cmd_list_element *setlist;
62
63/* Chain containing all defined unset subcommands */
64
65extern struct cmd_list_element *unsetlist;
66
67/* Chain containing all defined show subcommands. */
68
69extern struct cmd_list_element *showlist;
70
71/* Chain containing all defined \"set history\". */
72
73extern struct cmd_list_element *sethistlist;
74
75/* Chain containing all defined \"show history\". */
76
77extern struct cmd_list_element *showhistlist;
78
79/* Chain containing all defined \"unset history\". */
80
81extern struct cmd_list_element *unsethistlist;
82
83/* Chain containing all defined maintenance subcommands. */
84
85extern struct cmd_list_element *maintenancelist;
86
87/* Chain containing all defined "maintenance info" subcommands. */
88
89extern struct cmd_list_element *maintenanceinfolist;
90
91/* Chain containing all defined "maintenance print" subcommands. */
92
93extern struct cmd_list_element *maintenanceprintlist;
94
95extern struct cmd_list_element *setprintlist;
96
97extern struct cmd_list_element *showprintlist;
98
5d161b24
DB
99extern struct cmd_list_element *setdebuglist;
100
101extern struct cmd_list_element *showdebuglist;
102
c906108c
SS
103extern struct cmd_list_element *setchecklist;
104
105extern struct cmd_list_element *showchecklist;
106
a14ed312 107extern void execute_user_command (struct cmd_list_element *, char *);
c906108c 108
a14ed312 109extern void execute_command (char *, int);
c906108c 110
a14ed312 111enum command_control_type execute_control_command (struct command_line *);
c906108c 112
d9fcf2fb
JM
113extern void print_command_line (struct command_line *, unsigned int,
114 struct ui_file *);
8b93c638 115#ifdef UI_OUT
a14ed312
KB
116extern void print_command_lines (struct ui_out *,
117 struct command_line *, unsigned int);
8b93c638 118#endif
c906108c 119
a14ed312 120extern char **noop_completer (char *, char *);
c906108c 121
a14ed312 122extern char **filename_completer (char *, char *);
c906108c 123
c5aa993b 124#endif /* !defined (GDBCMD_H) */