GDB (API)
/home/stan/gdb/src/gdb/cli/cli-script.h
Go to the documentation of this file.
00001 /* Header file for GDB CLI command implementation library.
00002    Copyright (C) 2000-2013 Free Software Foundation, Inc.
00003 
00004    This program is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 3 of the License, or
00007    (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00016 
00017 #if !defined (CLI_SCRIPT_H)
00018 #define CLI_SCRIPT_H 1
00019 
00020 struct ui_file;
00021 struct command_line;
00022 struct cmd_list_element;
00023 
00024 /* Exported to cli/cli-cmds.c */
00025 
00026 extern void script_from_file (FILE *stream, const char *file);
00027 
00028 extern void show_user_1 (struct cmd_list_element *c,
00029                          const char *prefix,
00030                          const char *name,
00031                          struct ui_file *stream);
00032 
00033 /* Exported to gdb/breakpoint.c */
00034 
00035 extern enum command_control_type
00036         execute_control_command (struct command_line *cmd);
00037 
00038 extern enum command_control_type
00039         execute_control_command_untraced (struct command_line *cmd);
00040 
00041 extern struct command_line *get_command_line (enum command_control_type,
00042                                               char *);
00043 
00044 extern void print_command_lines (struct ui_out *,
00045                                  struct command_line *, unsigned int);
00046 
00047 extern struct command_line * copy_command_lines (struct command_line *cmds);
00048 
00049 extern struct cleanup *
00050   make_cleanup_free_command_lines (struct command_line **arg);
00051 
00052 /* Exported to gdb/infrun.c */
00053 
00054 extern void execute_user_command (struct cmd_list_element *c, char *args);
00055 
00056 /* Exported to top.c */
00057 
00058 extern void print_command_trace (const char *cmd);
00059 
00060 /* Exported to event-top.c */
00061 
00062 extern void reset_command_nest_depth (void);
00063 
00064 #endif /* !defined (CLI_SCRIPT_H) */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines