aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli/cli-script.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-12-18 19:24:40 +0000
committerTom Tromey <tromey@redhat.com>2012-12-18 19:24:40 +0000
commit2370e8539ca40ee80525e8549698426251a11053 (patch)
treea7b9cdc12c6616b6d6be4beb5f219da1af7b74a6 /gdb/cli/cli-script.h
parent43e4916ffe6295e4240921985e67b6bdf0562137 (diff)
downloadgdb-2370e8539ca40ee80525e8549698426251a11053.zip
gdb-2370e8539ca40ee80525e8549698426251a11053.tar.gz
gdb-2370e8539ca40ee80525e8549698426251a11053.tar.bz2
* cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",
"define", "while", and "if" commands. * cli/cli-script.c (while_command, if_command, define_command) (document_command): Now static. (_initialize_cli_script): New function. * cli/cli-script.h (while_command, if_command, define_command) (document_command): Don't declare.
Diffstat (limited to 'gdb/cli/cli-script.h')
-rw-r--r--gdb/cli/cli-script.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/cli/cli-script.h b/gdb/cli/cli-script.h
index 999c4e8..a430c4b 100644
--- a/gdb/cli/cli-script.h
+++ b/gdb/cli/cli-script.h
@@ -25,14 +25,6 @@ struct cmd_list_element;
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, char *prefix,
char *name, struct ui_file *stream);