This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / top.h
CommitLineData
c906108c 1/* Top level stuff for GDB, the GNU debugger.
d9fcf2fb 2 Copyright 1986-1994, 2000 Free Software Foundation, Inc.
c906108c 3
c5aa993b 4 This file is part of GDB.
c906108c 5
c5aa993b
JM
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
c906108c 10
c5aa993b
JM
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
c906108c 15
c5aa993b
JM
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
c906108c
SS
20
21/* From top.c. */
22extern char *line;
23extern int linesize;
24extern FILE *instream;
25extern char gdb_dirbuf[1024];
26extern int inhibit_gdbinit;
27extern int epoch_interface;
28extern char gdbinit[];
29
d9fcf2fb 30extern void print_gdb_version (struct ui_file *);
c906108c 31
a14ed312
KB
32extern void source_command (char *, int);
33extern void cd_command (char *, int);
34extern void read_command_file (FILE *);
35extern void init_history (void);
36extern void command_loop (void);
37extern void simplified_command_loop (char *(*read_input_func) (char *),
38 void (*execute_command_func) (char *,
39 int));
40extern int quit_confirm (void);
41extern void quit_force (char *, int);
42extern void quit_command (char *, int);
a14ed312
KB
43extern int quit_cover (PTR);
44extern void execute_command (char *, int);
c906108c
SS
45
46/* This function returns a pointer to the string that is used
47 by gdb for its command prompt. */
a14ed312 48extern char *get_prompt (void);
c5aa993b 49
c906108c
SS
50/* This function copies the specified string into the string that
51 is used by gdb for its command prompt. */
a14ed312 52extern void set_prompt (char *);
c906108c
SS
53
54/* From random places. */
55extern int mapped_symbol_files;
56extern int readnow_symbol_files;
392a587b
JM
57
58/* Perform _initialize initialization */
a14ed312 59extern void gdb_init (char *);
0f71a2f6
JM
60
61/* For use by event-top.c */
62/* Variables from top.c. */
63extern int source_line_number;
64extern char *source_file_name;
65extern char *source_error;
66extern char *source_pre_error;
67extern int history_expansion_p;
68extern int server_command;
This page took 0.072894 seconds and 4 git commands to generate.