]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/gdbcmd.h
* symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
[thirdparty/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.
6aba47ca 9 Copyright (C) 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1998, 1999, 2000,
4c38e0a4 10 2002, 2007, 2008, 2009, 2010 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
a9762ec7 14 the Free Software Foundation; either version 3 of the License, or
c5aa993b 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 22 You should have received a copy of the GNU General Public License
a9762ec7 23 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c
SS
24
25#if !defined (GDBCMD_H)
26#define GDBCMD_H 1
27
28#include "command.h"
8b93c638 29#include "ui-out.h"
c906108c
SS
30
31/* Chain containing all defined commands. */
32
33extern struct cmd_list_element *cmdlist;
34
35/* Chain containing all defined info subcommands. */
36
37extern struct cmd_list_element *infolist;
38
d3f17821 39/* Chain containing all defined enable subcommands. */
c906108c
SS
40
41extern struct cmd_list_element *enablelist;
42
d3f17821 43/* Chain containing all defined disable subcommands. */
c906108c
SS
44
45extern struct cmd_list_element *disablelist;
46
d3f17821 47/* Chain containing all defined delete subcommands. */
c906108c
SS
48
49extern struct cmd_list_element *deletelist;
50
f73adfeb
AS
51/* Chain containing all defined detach subcommands. */
52
53extern struct cmd_list_element *detachlist;
54
2277426b
PA
55/* Chain containing all defined kill subcommands. */
56
57extern struct cmd_list_element *killlist;
58
d3f17821 59/* Chain containing all defined toggle subcommands. */
c906108c
SS
60
61extern struct cmd_list_element *togglelist;
62
d3f17821 63/* Chain containing all defined stop subcommands. */
c906108c
SS
64
65extern struct cmd_list_element *stoplist;
66
d3f17821 67/* Chain containing all defined "enable breakpoint" subcommands. */
c906108c
SS
68
69extern struct cmd_list_element *enablebreaklist;
70
d3f17821 71/* Chain containing all defined set subcommands. */
c906108c
SS
72
73extern struct cmd_list_element *setlist;
74
d3f17821 75/* Chain containing all defined unset subcommands. */
c906108c
SS
76
77extern struct cmd_list_element *unsetlist;
78
79/* Chain containing all defined show subcommands. */
80
81extern struct cmd_list_element *showlist;
82
83/* Chain containing all defined \"set history\". */
84
85extern struct cmd_list_element *sethistlist;
86
87/* Chain containing all defined \"show history\". */
88
89extern struct cmd_list_element *showhistlist;
90
91/* Chain containing all defined \"unset history\". */
92
93extern struct cmd_list_element *unsethistlist;
94
d3f17821 95/* Chain containing all defined maintenance subcommands. */
c906108c
SS
96
97extern struct cmd_list_element *maintenancelist;
98
d3f17821 99/* Chain containing all defined "maintenance info" subcommands. */
c906108c
SS
100
101extern struct cmd_list_element *maintenanceinfolist;
102
d3f17821 103/* Chain containing all defined "maintenance print" subcommands. */
c906108c
SS
104
105extern struct cmd_list_element *maintenanceprintlist;
106
d3f17821 107/* Chain containing all defined "maintenance set" subcommands. */
ae038cb0
DJ
108
109extern struct cmd_list_element *maintenance_set_cmdlist;
110
d3f17821 111/* Chain containing all defined "maintenance show" subcommands. */
ae038cb0
DJ
112
113extern struct cmd_list_element *maintenance_show_cmdlist;
114
c906108c
SS
115extern struct cmd_list_element *setprintlist;
116
117extern struct cmd_list_element *showprintlist;
118
5d161b24
DB
119extern struct cmd_list_element *setdebuglist;
120
121extern struct cmd_list_element *showdebuglist;
122
c906108c
SS
123extern struct cmd_list_element *setchecklist;
124
125extern struct cmd_list_element *showchecklist;
126
a14ed312 127extern void execute_command (char *, int);
c906108c 128
a14ed312 129enum command_control_type execute_control_command (struct command_line *);
c906108c 130
d9fcf2fb
JM
131extern void print_command_line (struct command_line *, unsigned int,
132 struct ui_file *);
a14ed312
KB
133extern void print_command_lines (struct ui_out *,
134 struct command_line *, unsigned int);
c906108c 135
c5aa993b 136#endif /* !defined (GDBCMD_H) */