windows-nat: Don't change current_event.dwThreadId in handle_output_debug_string()
[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.
32d0add0 9 Copyright (C) 1986-2015 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
a9762ec7 13 the Free Software Foundation; either version 3 of the License, or
c5aa993b 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 21 You should have received a copy of the GNU General Public License
a9762ec7 22 along with this program. If not, see <http://www.gnu.org/licenses/>. */
c906108c
SS
23
24#if !defined (GDBCMD_H)
25#define GDBCMD_H 1
26
27#include "command.h"
8b93c638 28#include "ui-out.h"
c906108c
SS
29
30/* Chain containing all defined commands. */
31
32extern struct cmd_list_element *cmdlist;
33
34/* Chain containing all defined info subcommands. */
35
36extern struct cmd_list_element *infolist;
37
d3f17821 38/* Chain containing all defined enable subcommands. */
c906108c
SS
39
40extern struct cmd_list_element *enablelist;
41
d3f17821 42/* Chain containing all defined disable subcommands. */
c906108c
SS
43
44extern struct cmd_list_element *disablelist;
45
d3f17821 46/* Chain containing all defined delete subcommands. */
c906108c
SS
47
48extern struct cmd_list_element *deletelist;
49
f73adfeb
AS
50/* Chain containing all defined detach subcommands. */
51
52extern struct cmd_list_element *detachlist;
53
2277426b
PA
54/* Chain containing all defined kill subcommands. */
55
56extern struct cmd_list_element *killlist;
57
d3f17821 58/* Chain containing all defined stop subcommands. */
c906108c
SS
59
60extern struct cmd_list_element *stoplist;
61
d3f17821 62/* Chain containing all defined set subcommands. */
c906108c
SS
63
64extern struct cmd_list_element *setlist;
65
d3f17821 66/* Chain containing all defined unset subcommands. */
c906108c
SS
67
68extern struct cmd_list_element *unsetlist;
69
70/* Chain containing all defined show subcommands. */
71
72extern struct cmd_list_element *showlist;
73
74/* Chain containing all defined \"set history\". */
75
76extern struct cmd_list_element *sethistlist;
77
78/* Chain containing all defined \"show history\". */
79
80extern struct cmd_list_element *showhistlist;
81
82/* Chain containing all defined \"unset history\". */
83
84extern struct cmd_list_element *unsethistlist;
85
d3f17821 86/* Chain containing all defined maintenance subcommands. */
c906108c
SS
87
88extern struct cmd_list_element *maintenancelist;
89
d3f17821 90/* Chain containing all defined "maintenance info" subcommands. */
c906108c
SS
91
92extern struct cmd_list_element *maintenanceinfolist;
93
d3f17821 94/* Chain containing all defined "maintenance print" subcommands. */
c906108c
SS
95
96extern struct cmd_list_element *maintenanceprintlist;
97
d3f17821 98/* Chain containing all defined "maintenance set" subcommands. */
ae038cb0
DJ
99
100extern struct cmd_list_element *maintenance_set_cmdlist;
101
d3f17821 102/* Chain containing all defined "maintenance show" subcommands. */
ae038cb0
DJ
103
104extern struct cmd_list_element *maintenance_show_cmdlist;
105
c906108c
SS
106extern struct cmd_list_element *setprintlist;
107
108extern struct cmd_list_element *showprintlist;
109
e7045703
DE
110extern struct cmd_list_element *setprintrawlist;
111
112extern struct cmd_list_element *showprintrawlist;
113
53342f27
TT
114extern struct cmd_list_element *setprinttypelist;
115
116extern struct cmd_list_element *showprinttypelist;
117
5d161b24
DB
118extern struct cmd_list_element *setdebuglist;
119
120extern struct cmd_list_element *showdebuglist;
121
c906108c
SS
122extern struct cmd_list_element *setchecklist;
123
124extern struct cmd_list_element *showchecklist;
125
9291a0cd
TT
126/* Chain containing all defined "save" subcommands. */
127
128extern struct cmd_list_element *save_cmdlist;
129
a14ed312 130extern void execute_command (char *, int);
5da1313b 131extern char *execute_command_to_string (char *p, int from_tty);
c906108c 132
a14ed312 133enum command_control_type execute_control_command (struct command_line *);
c906108c 134
d9fcf2fb
JM
135extern void print_command_line (struct command_line *, unsigned int,
136 struct ui_file *);
a14ed312
KB
137extern void print_command_lines (struct ui_out *,
138 struct command_line *, unsigned int);
c906108c 139
c5aa993b 140#endif /* !defined (GDBCMD_H) */
This page took 1.229345 seconds and 4 git commands to generate.