* config/tc-mn10300.c (md_assemble): Copy size to real_size before
[deliverable/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
107extern void
108execute_user_command PARAMS ((struct cmd_list_element *, char *));
109
110extern void
111execute_command PARAMS ((char *, int));
112
113enum command_control_type
114execute_control_command PARAMS ((struct command_line *));
115
d9fcf2fb
JM
116extern void print_command_line (struct command_line *, unsigned int,
117 struct ui_file *);
8b93c638
JM
118#ifdef UI_OUT
119extern void print_command_lines PARAMS ((struct ui_out *,
120 struct command_line *, unsigned int));
121#endif
c906108c
SS
122
123extern char **noop_completer PARAMS ((char *, char *));
124
125extern char **filename_completer PARAMS ((char *, char *));
126
c5aa993b 127#endif /* !defined (GDBCMD_H) */
This page took 0.074136 seconds and 4 git commands to generate.