binutils-gdb/gdb/cli
Tom Tromey b05dcbb7f9 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.
2008-12-10 01:05:16 +00:00
..
cli-cmds.c * cli/cli-cmds.c (source_script): Clean up full_pathname. Run 2008-11-10 20:38:24 +00:00
cli-cmds.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-decode.c gdb 2008-12-10 01:05:16 +00:00
cli-decode.h gdb 2008-12-10 01:05:16 +00:00
cli-dump.c * cli/cli-script.c (do_fclose_cleanup): Remove. 2008-10-28 15:22:13 +00:00
cli-dump.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-interp.c Implement MI notification for new threads. 2008-03-14 17:21:08 +00:00
cli-logging.c * cli/cli-logging.c (handle_redirections): Make a cleanup. 2008-10-30 20:35:31 +00:00
cli-script.c * cli/cli-script.c (do_fclose_cleanup): Remove. 2008-10-28 15:22:13 +00:00
cli-script.h Initial python support. 2008-08-06 19:41:33 +00:00
cli-setshow.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
cli-setshow.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00