binutils-gdb/gdb/testsuite/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
Makefile.in * Makefile.in (clean): Remove Fission .dwo and .dwp files. 2012-05-17 19:03:59 +00:00
array.f Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
basics.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
dw2-ref-missing-frame-func.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
dw2-ref-missing-frame-main.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
dw2-ref-missing-frame.S Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
dw2-ref-missing-frame.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb669.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb680.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
gdb701.c
gdb701.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb792.cc
gdb792.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
gdb2549.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-async.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-basics.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-break.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-cli.exp gdb/ 2012-08-09 12:53:46 +00:00
mi-cmd-param-changed.exp gdb/ 2012-08-09 12:53:46 +00:00
mi-console.c
mi-console.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-disassemble.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-eval.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-file-transfer.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-file.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-hack-cli.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-info-os.exp 2012-05-23 Stan Shebs <stan@codesourcery.com> 2012-05-24 00:33:47 +00:00
mi-inheritance-syntax-error.cc
mi-inheritance-syntax-error.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-logging.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nonstop-exit.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nonstop.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-ns-stale-regcache.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsintrall.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsmoribund.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-nsthrexec.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-pending.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-pending.exp 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com> 2012-07-25 18:34:17 +00:00
mi-pendshr.c 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com> 2012-07-25 18:34:17 +00:00
mi-pthreads.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-read-memory.c
mi-read-memory.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-regs.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-return.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-reverse.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-simplerun.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-solib.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stack.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-stack.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stepi.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-stepn.c 2012-01-05 Khoo Yit Phang <khooyp@cs.umd.edu> 2012-01-05 13:11:31 +00:00
mi-stepn.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-syn-frame.c
mi-syn-frame.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-until.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-block.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-child-f.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-child.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi-var-child.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-cmd.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-cp.cc PR mi/10586 2012-01-12 22:50:49 +00:00
mi-var-cp.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-display.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-var-invalidate.exp http://sourceware.org/ml/gdb-patches/2012-07/msg00551.html 2012-07-30 12:10:23 +00:00
mi-var-rtti.cc gdb/doc/ChangeLog: 2012-04-14 12:18:50 +00:00
mi-var-rtti.exp gdb/ 2012-08-09 12:53:46 +00:00
mi-watch-nonstop.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi-watch.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-amd64-entry-value.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi2-amd64-entry-value.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-amd64-entry-value.s Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi2-basics.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-break.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-cli.exp gdb/ 2012-08-09 12:53:46 +00:00
mi2-console.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-disassemble.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-eval.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-file.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-hack-cli.exp Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
mi2-prompt.exp gdb/ 2012-08-09 12:53:46 +00:00
mi2-pthreads.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-read-memory.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-regs.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-return.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-simplerun.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-stack.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-stepi.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-syn-frame.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-until.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-var-block.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-var-child.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-var-cmd.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-var-display.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
mi2-watch.exp * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile, 2012-07-10 15:32:52 +00:00
non-stop-exit.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
non-stop.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
ns-stale-regcache.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
nsintrall.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
nsmoribund.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
nsthrexec.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
pthreads.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
solib-lib.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
solib-main.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
testcmds
until.c
var-cmd.c gdb/testsuite/ 2012-01-24 20:35:35 +00:00
watch-nonstop.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00