This is the mail archive of the gdb-cvs@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

src/gdb ChangeLog command.h command.c top.c ma ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	fnasser@sourceware.cygnus.com	00/03/23 15:43:19

Modified files:
	gdb            : ChangeLog command.h command.c top.c maint.c 

Log message:
	2000-03-23  Fernando Nasser  <fnasser@cygnus.com>
	
	From David Whedon <dwhedon@gordian.com>
	
	* top.c (execute_command): Checks all commands beore executing
	to see if the user needs to be warned that the command is
	deprecated, warns user if appropriate.
	(add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
	return values from void to struct cmd_list_element *.
	* command.c (lookup_cmd_1): Check aliases before following link
	in case user needs to be warned about a deprecated alias.
	(deprecate_cmd): new exported function for command deprecation,
	sets flags and posibly a replacement string.
	(deprecated_cmd_warning): New exported funciton to warn user about
	a deprecated command.
	(lookup_cmd_composition): New exported function that determines
	alias, prefix_command, and cmd based on a string.  This is useful
	is we want to full name of a command.
	* command.h : Added prototypes for deprecate_cmd,
	deprecated_warn_user and lookup_cmd_composition, added flags to
	the cmd_list_element structure, changed return values for
	add_com_* and add_info_* from void to cmd_list_element.
	* maint.c : (maintenance_deprecate): New function to deprecate a
	command.  This exists only so that the testsuite can deprecate
	commands at runtime and check the warning behavior.
	(maintenance_undeprecate) : New function, drops deprecated flags.
	(maintenance_do_deprecate): Actually does the (un)deprecation.
	(initialize_maint_cmds): Added the above new deprecate commands.

Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.169&r2=1.170
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/command.h.diff?cvsroot=src&r1=1.1.1.4&r2=1.2
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/command.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/top.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/maint.c.diff?cvsroot=src&r1=1.1.1.7&r2=1.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]