summaryrefslogtreecommitdiff
path: root/gdb/command.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-12-10 01:05:13 +0000
committerTom Tromey <tromey@redhat.com>2008-12-10 01:05:13 +0000
commit9d0ff7b457f2022cbcd2da11d1783348e2d36a33 (patch)
treeb717f21a5ef1040e50bb8141062cc5b357d04d00 /gdb/command.h
parent3a70e03ee3b26bf0193ca88e5d211c87c7c8535f (diff)
downloadgdb-9d0ff7b457f2022cbcd2da11d1783348e2d36a33.tar.gz
gdb
PR gdb/1815: * cli/cli-decode.c (delete_cmd): Forward declare. (delete_cmd): Now static. Change return type. Remove command from alias chain. Rewrite. (add_cmd): Initialize new fields. Update cmd_pointer on all aliases. (add_alias_cmd): Put command on alias chain. * command.h (delete_cmd): Don't declare. * cli/cli-decode.h (delete_cmd): Don't declare. (struct cmd_list_element) <aliases, alias_chain>: New fields. gdb/testsuite * gdb.base/commands.exp (redefine_backtrace_test): New proc. Call it.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/command.h b/gdb/command.h
index cf09c011a33..5678c9e2ed7 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -193,8 +193,6 @@ extern char **complete_on_cmdlist (struct cmd_list_element *, char *, char *);
extern char **complete_on_enum (const char *enumlist[], char *, char *);
-extern void delete_cmd (char *, struct cmd_list_element **);
-
extern void help_cmd (char *, struct ui_file *);
extern void help_list (struct cmd_list_element *, char *,