OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [top.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 104 markom
/* Top level stuff for GDB, the GNU debugger.
2
   Copyright 1986-1994, 2000 Free Software Foundation, Inc.
3
 
4
   This file is part of GDB.
5
 
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.
10
 
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.
15
 
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.  */
20
 
21
/* From top.c.  */
22
extern char *line;
23
extern int linesize;
24
extern FILE *instream;
25
extern char gdb_dirbuf[1024];
26
extern int inhibit_gdbinit;
27
extern int epoch_interface;
28
extern char gdbinit[];
29
 
30
extern void print_gdb_version (struct ui_file *);
31
 
32
extern void source_command PARAMS ((char *, int));
33
extern void cd_command PARAMS ((char *, int));
34
extern void read_command_file PARAMS ((FILE *));
35
extern void init_history PARAMS ((void));
36
extern void command_loop PARAMS ((void));
37
extern void simplified_command_loop PARAMS ((char *(*read_input_func) (char *),
38
                               void (*execute_command_func) (char *, int)));
39
extern int quit_confirm PARAMS ((void));
40
extern void quit_force PARAMS ((char *, int));
41
extern void quit_command PARAMS ((char *, int));
42
extern void command_loop_marker PARAMS ((int));
43
extern int quit_cover PARAMS ((PTR));
44
extern void execute_command PARAMS ((char *, int));
45
 
46
/* This function returns a pointer to the string that is used
47
   by gdb for its command prompt. */
48
extern char *get_prompt PARAMS ((void));
49
 
50
/* This function copies the specified string into the string that
51
   is used by gdb for its command prompt. */
52
extern void set_prompt PARAMS ((char *));
53
 
54
/* From random places.  */
55
extern int mapped_symbol_files;
56
extern int readnow_symbol_files;
57
 
58
/* Perform _initialize initialization */
59
extern void gdb_init PARAMS ((char *));
60
 
61
/* For use by event-top.c */
62
/* Variables from top.c. */
63
extern int source_line_number;
64
extern char *source_file_name;
65
extern char *source_error;
66
extern char *source_pre_error;
67
extern int history_expansion_p;
68
extern int server_command;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.