X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fcli%2Fcli-script.h;h=d53aeb3bad655779d34235fed79424863934f52f;hb=cbda93a56a0af8d7787ff091caad64af1b2bd085;hp=dafd3da8fc8e2e55f3e49e51c84824b5c74b6d2c;hpb=0fb0cc7590113e9b459dfcc48dc71c9d419d9580;p=platform%2Fupstream%2Fbinutils.git diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h index dafd3da..d53aeb3 100644 --- a/gdb/cli/cli-script.h +++ b/gdb/cli/cli-script.h @@ -1,5 +1,5 @@ /* Header file for GDB CLI command implementation library. - Copyright (c) 2000, 2002, 2007, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2000-2014 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,17 +23,12 @@ struct cmd_list_element; /* Exported to cli/cli-cmds.c */ -extern void script_from_file (FILE *stream, char *file); +extern void script_from_file (FILE *stream, const char *file); -extern void document_command (char *, int); - -extern void define_command (char *, int); - -extern void while_command (char *arg, int from_tty); - -extern void if_command (char *arg, int from_tty); - -extern void show_user_1 (struct cmd_list_element *c, struct ui_file *stream); +extern void show_user_1 (struct cmd_list_element *c, + const char *prefix, + const char *name, + struct ui_file *stream); /* Exported to gdb/breakpoint.c */ @@ -51,7 +46,8 @@ extern void print_command_lines (struct ui_out *, extern struct command_line * copy_command_lines (struct command_line *cmds); -struct cleanup *make_cleanup_free_command_lines (struct command_line **arg); +extern struct cleanup * + make_cleanup_free_command_lines (struct command_line **arg); /* Exported to gdb/infrun.c */