]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/gdbcmd.h
import gdb-1999-07-07 post reformat
[thirdparty/binutils-gdb.git] / gdb / gdbcmd.h
CommitLineData
c906108c
SS
1/* Header file for GDB-specific command-line stuff.
2 Copyright 1986, 1989, 1990, 1992 Free Software Foundation, Inc.
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"
23
24/* Chain containing all defined commands. */
25
26extern struct cmd_list_element *cmdlist;
27
28/* Chain containing all defined info subcommands. */
29
30extern struct cmd_list_element *infolist;
31
32/* Chain containing all defined enable subcommands. */
33
34extern struct cmd_list_element *enablelist;
35
36/* Chain containing all defined disable subcommands. */
37
38extern struct cmd_list_element *disablelist;
39
40/* Chain containing all defined delete subcommands. */
41
42extern struct cmd_list_element *deletelist;
43
44/* Chain containing all defined toggle subcommands. */
45
46extern struct cmd_list_element *togglelist;
47
48/* Chain containing all defined stop subcommands. */
49
50extern struct cmd_list_element *stoplist;
51
52/* Chain containing all defined "enable breakpoint" subcommands. */
53
54extern struct cmd_list_element *enablebreaklist;
55
56/* Chain containing all defined set subcommands */
57
58extern struct cmd_list_element *setlist;
59
60/* Chain containing all defined unset subcommands */
61
62extern struct cmd_list_element *unsetlist;
63
64/* Chain containing all defined show subcommands. */
65
66extern struct cmd_list_element *showlist;
67
68/* Chain containing all defined \"set history\". */
69
70extern struct cmd_list_element *sethistlist;
71
72/* Chain containing all defined \"show history\". */
73
74extern struct cmd_list_element *showhistlist;
75
76/* Chain containing all defined \"unset history\". */
77
78extern struct cmd_list_element *unsethistlist;
79
80/* Chain containing all defined maintenance subcommands. */
81
82extern struct cmd_list_element *maintenancelist;
83
84/* Chain containing all defined "maintenance info" subcommands. */
85
86extern struct cmd_list_element *maintenanceinfolist;
87
88/* Chain containing all defined "maintenance print" subcommands. */
89
90extern struct cmd_list_element *maintenanceprintlist;
91
92extern struct cmd_list_element *setprintlist;
93
94extern struct cmd_list_element *showprintlist;
95
96extern struct cmd_list_element *setchecklist;
97
98extern struct cmd_list_element *showchecklist;
99
100extern void
101execute_user_command PARAMS ((struct cmd_list_element *, char *));
102
103extern void
104execute_command PARAMS ((char *, int));
105
106enum command_control_type
107execute_control_command PARAMS ((struct command_line *));
108
9e086581
JM
109extern void
110print_command_line PARAMS ((struct command_line *, unsigned int, GDB_FILE *));
c906108c
SS
111
112extern char **noop_completer PARAMS ((char *, char *));
113
114extern char **filename_completer PARAMS ((char *, char *));
115
c5aa993b 116#endif /* !defined (GDBCMD_H) */