* configure.in: Check whether getuid and getgid exist.
[deliverable/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
4This program is free software; you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation; either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17
18#if !defined (GDBCMD_H)
19#define GDBCMD_H 1
20
21#include "command.h"
22
23/* Chain containing all defined commands. */
24
25extern struct cmd_list_element *cmdlist;
26
27/* Chain containing all defined info subcommands. */
28
29extern struct cmd_list_element *infolist;
30
31/* Chain containing all defined enable subcommands. */
32
33extern struct cmd_list_element *enablelist;
34
35/* Chain containing all defined disable subcommands. */
36
37extern struct cmd_list_element *disablelist;
38
39/* Chain containing all defined delete subcommands. */
40
41extern struct cmd_list_element *deletelist;
42
43/* Chain containing all defined toggle subcommands. */
44
45extern struct cmd_list_element *togglelist;
46
47/* Chain containing all defined stop subcommands. */
48
49extern struct cmd_list_element *stoplist;
50
51/* Chain containing all defined "enable breakpoint" subcommands. */
52
53extern struct cmd_list_element *enablebreaklist;
54
55/* Chain containing all defined set subcommands */
56
57extern struct cmd_list_element *setlist;
58
59/* Chain containing all defined unset subcommands */
60
61extern struct cmd_list_element *unsetlist;
62
63/* Chain containing all defined show subcommands. */
64
65extern struct cmd_list_element *showlist;
66
67/* Chain containing all defined \"set history\". */
68
69extern struct cmd_list_element *sethistlist;
70
71/* Chain containing all defined \"show history\". */
72
73extern struct cmd_list_element *showhistlist;
74
75/* Chain containing all defined \"unset history\". */
76
77extern struct cmd_list_element *unsethistlist;
78
79/* Chain containing all defined maintenance subcommands. */
80
81extern struct cmd_list_element *maintenancelist;
82
83/* Chain containing all defined "maintenance info" subcommands. */
84
85extern struct cmd_list_element *maintenanceinfolist;
86
87/* Chain containing all defined "maintenance print" subcommands. */
88
89extern struct cmd_list_element *maintenanceprintlist;
90
91extern struct cmd_list_element *setprintlist;
92
93extern struct cmd_list_element *showprintlist;
94
95extern struct cmd_list_element *setchecklist;
96
97extern struct cmd_list_element *showchecklist;
98
99extern void
100execute_user_command PARAMS ((struct cmd_list_element *, char *));
101
102extern void
103execute_command PARAMS ((char *, int));
104
105enum command_control_type
106execute_control_command PARAMS ((struct command_line *));
107
9e086581
JM
108extern void
109print_command_line PARAMS ((struct command_line *, unsigned int, GDB_FILE *));
c906108c
SS
110
111extern char **noop_completer PARAMS ((char *, char *));
112
113extern char **filename_completer PARAMS ((char *, char *));
114
115#endif /* !defined (GDBCMD_H) */
This page took 0.028505 seconds and 4 git commands to generate.