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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [gdb/] [cli/] [cli-script.h] - Blame information for rev 825

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

Line No. Rev Author Line
1 227 jeremybenn
/* Header file for GDB CLI command implementation library.
2
   Copyright (c) 2000, 2002, 2007, 2008, 2009, 2010
3
   Free Software Foundation, Inc.
4
 
5
   This program is free software; you can redistribute it and/or modify
6
   it under the terms of the GNU General Public License as published by
7
   the Free Software Foundation; either version 3 of the License, or
8
   (at your option) any later version.
9
 
10
   This program is distributed in the hope that it will be useful,
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
   GNU General Public License for more details.
14
 
15
   You should have received a copy of the GNU General Public License
16
   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
17
 
18
#if !defined (CLI_SCRIPT_H)
19
#define CLI_SCRIPT_H 1
20
 
21
struct ui_file;
22
struct command_line;
23
struct cmd_list_element;
24
 
25
/* Exported to cli/cli-cmds.c */
26
 
27
extern void script_from_file (FILE *stream, char *file);
28
 
29
extern void document_command (char *, int);
30
 
31
extern void define_command (char *, int);
32
 
33
extern void while_command (char *arg, int from_tty);
34
 
35
extern void if_command (char *arg, int from_tty);
36
 
37
extern void show_user_1 (struct cmd_list_element *c, char *prefix,
38
                         char *name, struct ui_file *stream);
39
 
40
/* Exported to gdb/breakpoint.c */
41
 
42
extern enum command_control_type
43
        execute_control_command (struct command_line *cmd);
44
 
45
extern enum command_control_type
46
        execute_control_command_untraced (struct command_line *cmd);
47
 
48
extern struct command_line *get_command_line (enum command_control_type,
49
                                              char *);
50
 
51
extern void print_command_lines (struct ui_out *,
52
                                 struct command_line *, unsigned int);
53
 
54
extern struct command_line * copy_command_lines (struct command_line *cmds);
55
 
56
struct cleanup *make_cleanup_free_command_lines (struct command_line **arg);
57
 
58
/* Exported to gdb/infrun.c */
59
 
60
extern void execute_user_command (struct cmd_list_element *c, char *args);
61
 
62
/* Exported to top.c */
63
 
64
extern void print_command_trace (const char *cmd);
65
 
66
/* Exported to event-top.c */
67
 
68
extern void reset_command_nest_depth (void);
69
 
70
#endif /* !defined (CLI_SCRIPT_H) */

powered by: WebSVN 2.1.0

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