binutils-gdb/gdb/mi
Yao Qi d654162044 Use DISABLE_COPY_AND_ASSIGN
We have many classes that copy cotr and assignment operator are deleted,
so this patch replaces these existing mechanical code with macro
DISABLE_COPY_AND_ASSIGN.

gdb:

2017-09-19  Yao Qi  <yao.qi@linaro.org>

	* annotate.h (struct annotate_arg_emitter): Use
	DISABLE_COPY_AND_ASSIGN.
	* common/refcounted-object.h (refcounted_object): Likewise.
	* completer.h (struct completion_result): Likewise.
	* dwarf2read.c (struct dwarf2_per_objfile): Likewise.
	* filename-seen-cache.h (filename_seen_cache): Likewise.
	* gdbcore.h (thread_section_name): Likewise.
	* gdb_regex.h (compiled_regex): Likewise.
	* gdbthread.h (scoped_restore_current_thread): Likewise.
	* inferior.h (scoped_restore_current_inferior): Likewise.
	* jit.c (jit_reader): Likewise.
	* linespec.h (struct linespec_result): Likewise.
	* mi/mi-parse.h (struct mi_parse): Likewise.
	* nat/fork-inferior.c (execv_argv): Likewise.
	* progspace.h (scoped_restore_current_program_space): Likewise.
	* python/python-internal.h (class gdbpy_enter): Likewise.
	* regcache.h (regcache): Likewise.
	* target-descriptions.c (struct tdesc_reg): Likewise.
	(struct tdesc_type): Likewise.
	(struct tdesc_feature): Likewise.
	* ui-out.h (ui_out_emit_type): Likewise.
2017-09-19 10:10:03 +01:00
..
ChangeLog-1999-2003
mi-cmd-break.c Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-break.h Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-catch.c Change setup_breakpoint_reporting to return a scoped_restore 2017-09-11 16:15:07 -06:00
mi-cmd-disas.c Introduce gdb_disassembly_flags 2017-09-04 18:23:22 +01:00
mi-cmd-env.c Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
mi-cmd-file.c Use ui_out_emit_tuple in more places 2017-09-09 13:46:05 -06:00
mi-cmd-info.c Introduce and use ui_out_emit_table 2017-08-03 07:58:51 -06:00
mi-cmd-stack.c
mi-cmd-target.c
mi-cmd-var.c Use ui_out_emit_list and ui_out_emit_tuple with gdb::optional 2017-09-09 13:46:09 -06:00
mi-cmds.c Remove unnecessary function prototypes. 2017-09-09 11:02:37 -07:00
mi-cmds.h
mi-common.c
mi-common.h
mi-console.c
mi-console.h
mi-getopt.c
mi-getopt.h
mi-interp.c Remove make_cleanup_ui_out_redirect_pop 2017-09-09 13:46:08 -06:00
mi-interp.h
mi-main.c mi_load_progress: Restore current_uiout using a scoped_restore 2017-09-16 13:45:56 +02:00
mi-main.h
mi-out.c
mi-out.h
mi-parse.c Make extract_arg return a std::string 2017-09-11 15:46:14 -06:00
mi-parse.h Use DISABLE_COPY_AND_ASSIGN 2017-09-19 10:10:03 +01:00
mi-symbol-cmds.c