binutils-gdb/gdb/mi
Yao Qi 5b9afe8a35 gdb/
* cli/cli-decode.c (set_cmd_prefix): New.
	(lookup_cmd_for_prefixlist): New.
	(add_prefix_cmd): Call set_cmd_prefix and update field 'prefix'
	of each cmd_list_element in *prefixlist.
	(add_setshow_cmd_full): set_cmd_prefix.
	(add_alias_cmd): Likewise.
	* cli/cli-decode.h (struct cmd_list_element) <prefix>: New field.
	Declare 'auto_boolean_enums'.
	* cli/cli-setshow.c: Include "observer.h".
	(notify_command_param_changed_p): New.
	(add_setshow_auto_boolean_cmd): Move auto_boolean_enums out.
	Remove 'static'.
	(do_setshow_command): Split it to ...
	(do_set_command, do_show_command): ... them.  New.
	(do_set_command): Call observer_notify_command_param_changed if
	notify_command_param_changed_p returns true.
	(cmd_show_list): Caller update.
	* auto-load.c (set_auto_load_cmd): Likewise.
	* remote.c (show_remote_cmd): Likewise.
	* cli/cli-setshow.h: Update declarations.
	* top.c (execute_command): Call do_set_command and do_show_command.

	* NEWS: Mention new MI notification.
	* mi/mi-interp.c: Declare mi_command_param_changed.
	(mi_interpreter_init): Attach mi_command_param_changed to
	observer command_param_changed.
	(mi_command_param_changed): New.
	Remove mi_suppress_breakpoint_notifications.
	Define global variable mi_suppress_notification.
	(mi_breakpoint_created): Update.
	(mi_breakpoint_deleted): Likewise.
	(mi_breakpoint_modified): Likewise.
	* mi/mi-main.c (mi_cmd_execute): Likewise.  Check command
	'gdb-set' and set mi_suppress_notification.
	* mi/mi-main.h: (mi_suppress_notification): New struct.

gdb/doc/

	* observer.texi: New observer command_param_changed.
	* gdb.texinfo (GDB/MI Async Records): Doc for '=cmd-param-changed'.

gdb/testsuite/

	* gdb.mi/mi-cmd-param-changed.exp: New.
	* gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
	* gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
	* gdb.mi/mi2-prompt.exp: Likewise.
2012-08-09 12:53:46 +00:00
..
ChangeLog-1999-2003
mi-cmd-break.c 2012-05-14 Stan Shebs <stan@codesourcery.com> 2012-05-14 15:38:41 +00:00
mi-cmd-disas.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-cmd-env.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-cmd-file.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-cmd-info.c 2012-05-23 Stan Shebs <stan@codesourcery.com> 2012-05-24 00:33:47 +00:00
mi-cmd-stack.c * tracepoint.c (scope_info): Update. 2012-05-10 19:50:09 +00:00
mi-cmd-target.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-cmd-var.c gdb/ 2012-08-02 09:36:40 +00:00
mi-cmds.c 2012-05-23 Stan Shebs <stan@codesourcery.com> 2012-05-24 00:33:47 +00:00
mi-cmds.h 2012-05-23 Stan Shebs <stan@codesourcery.com> 2012-05-24 00:33:47 +00:00
mi-common.c 2012-01-11 Andreas Tobler <andreast@fgznet.ch> 2012-01-11 21:51:31 +00:00
mi-common.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-console.c Make logging work for MI. 2012-06-28 22:11:23 +00:00
mi-console.h Make logging work for MI. 2012-06-28 22:11:23 +00:00
mi-getopt.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-getopt.h * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-interp.c gdb/ 2012-08-09 12:53:46 +00:00
mi-main.c gdb/ 2012-08-09 12:53:46 +00:00
mi-main.h gdb/ 2012-08-09 12:53:46 +00:00
mi-out.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-out.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-parse.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-parse.h * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00
mi-symbol-cmds.c * mi/mi-cmd-break.c: Enforce coding standards, fix comments. 2012-03-06 22:48:53 +00:00