Remove make_cleanup_restore_current_ui
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b6290c7b3764fad9efbd690846a90baf74d4a343..02e917d72f741f3bb23b2aea2843732ca4ade6da 100644 (file)
@@ -1,3 +1,134 @@
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-interp.c (tui_on_normal_stop, tui_on_signal_received)
+       (tui_on_end_stepping_range, tui_on_signal_exited, tui_on_exited)
+       (tui_on_no_history, tui_on_user_selected_context_changed):
+       Update.
+       * top.h (switch_thru_all_uis): New class.
+       (SWITCH_THRU_ALL_UIS): Rewrite.
+       (make_cleanup_restore_current_ui, switch_thru_all_uis_init)
+       (switch_thru_all_uis_cond, switch_thru_all_uis_next): Don't
+       declare.
+       * mi/mi-interp.c (mi_new_thread, mi_thread_exit)
+       (mi_record_changed, mi_inferior_added, mi_inferior_appeared)
+       (mi_inferior_exit, mi_inferior_removed, mi_on_signal_received)
+       (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
+       (mi_on_no_history, mi_on_normal_stop, mi_traceframe_changed)
+       (mi_tsv_created, mi_tsv_deleted, mi_tsv_modified)
+       (mi_breakpoint_created, mi_breakpoint_deleted)
+       (mi_breakpoint_modified, mi_output_running_pid, mi_on_resume)
+       (mi_solib_loaded, mi_solib_unloaded, mi_command_param_changed)
+       (mi_memory_changed, mi_user_selected_context_changed): Update.
+       * infrun.c (all_uis_check_sync_execution_done)
+       (all_uis_on_sync_execution_starting, normal_stop): Update.
+       * event-top.c (restore_ui_cleanup)
+       (make_cleanup_restore_current_ui, switch_thru_all_uis_init)
+       (switch_thru_all_uis_cond, switch_thru_all_uis_next): Remove.
+       * cli/cli-interp.c (cli_on_normal_stop, cli_on_signal_received)
+       (cli_on_end_stepping_range, cli_on_signal_exited, cli_on_exited)
+       (cli_on_no_history, cli_on_user_selected_context_changed):
+       Update.
+       * breakpoint.c (watchpoint_check): Update.
+
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab): Add
+       "reader" argument.  Update.
+       (xcoff_initial_scan): Update.
+       * symfile.h (mdebug_build_psymtabs): Add "reader" argument.
+       * mipsread.c (mipscoff_symfile_read): Update.
+       (read_alphacoff_dynamic_symtab): Add "reader" argument.  Update.
+       * minsyms.h (minimal_symbol_reader) <record, record_full>:
+       Declare.
+       <m_msym_bunch, m_msym_bunch_index, m_msym_count>: New members.
+       <record_with_info>: New function, renamed from
+       prim_record_minimal_symbol_and_info.
+       * minsyms.c (msym_bunch, msym_bunch_index, msym_count): Remove
+       globals.
+       (minimal_symbol_reader): Initialize new members.
+       (minimal_symbol_reader::record): Renamed from
+       prim_record_minimal_symbol.
+       (minimal_symbol_reader::record_full): Renamed from
+       prim_record_minimal_symbol_full.
+       (prim_record_minimal_symbol_and_info): Move to minsyms.h; rename.
+       * mdebugread.c (mdebug_build_psymtabs, parse_partial_symbols)
+       (record_minimal_symbol): Add "reader" argument.  Update.
+       (elfmdebug_build_psymtabs): Update.
+       * machoread.c (macho_symtab_add_minsym, macho_symtab_read): Add
+       "reader" argument.  Update.
+       (macho_symfile_read): Update.
+       * elfread.c (record_minimal_symbol, elf_symtab_read)
+       (elf_rel_plt_read): Add "reader" argument.  Update.
+       (elf_read_minimal_symbols): Update.
+       * dbxread.c (record_minimal_symbol, read_dbx_dynamic_symtab)
+       (read_dbx_symtab): Add "reader" argument.  Update.
+       (dbx_symfile_read): Update.
+       * coffread.c (record_minimal_symbol, coff_symtab_read): Add
+       "reader" argument.  Update.
+       (coff_symfile_read): Update.
+       * coff-pe-read.h (read_pe_exported_syms): Add "reader" argument.
+       * coff-pe-read.c (add_pe_exported_sym, add_pe_forwarded_sym)
+       (read_pe_exported_syms): Add "reader" argument.  Update.
+
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (xcoff_initial_scan): Update.
+       * mipsread.c (mipscoff_symfile_read): Update.
+       * minsyms.c (minimal_symbol_reader): Add obj argument.
+       Initialize member.
+       (install): Remove objfile argument.  Update.
+       * mdebugread.c (elfmdebug_build_psymtabs): Update.
+       * machoread.c (macho_symfile_read): Update.
+       * elfread.c (elf_read_minimal_symbols): Update.
+       * dbxread.c (dbx_symfile_read): Update.
+       * coffread.c (coff_symfile_read): Update.
+       * minsyms.h (minimal_symbol_reader): Add m_objfile member.
+       (constructor): Add objfile argument.
+       (minimal_symbol_reader::install): Remove objfile argument.
+
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * xcoffread.c (xcoff_initial_scan): Use
+       minimal_symbol_reader.
+       * mipsread.c (mipscoff_symfile_read): Use
+       minimal_symbol_reader.
+       * minsyms.h (minimal_symbol_reader): New class.
+       (init_minimal_symbol_collection)
+       (make_cleanup_discard_minimal_symbols, install_minimal_symbols):
+       Don't declare.
+       * minsyms.c (minimal_symbol_reader): Renamed from
+       init_minimal_symbol_collection, turned into constructor.
+       (~minimal_symbol_reader): Renamed from
+       do_discard_minimal_symbols_cleanup, turned into destructor.
+       (make_cleanup_discard_minimal_symbols): Remove.
+       (minimal_symbol_reader::install): Rename form
+       install_minimal_symbols.
+       * mdebugread.c (elfmdebug_build_psymtabs): Use
+       minimal_symbol_reader.
+       * machoread.c (macho_symfile_read): Use
+       minimal_symbol_reader.
+       * elfread.c (elf_read_minimal_symbols): Use
+       minimal_symbol_reader.
+       * dbxread.c (dbx_symfile_read): Use minimal_symbol_reader.
+       * coffread.c (coff_symfile_read): Use
+       minimal_symbol_reader.
+
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * top.c (new_ui_command, wait_sync_command_done)
+       (gdb_readline_wrapper): Use scoped_restore.
+       * infrun.c (fetch_inferior_event): Use scoped_restore.
+       * infcall.c (call_thread_fsm_should_stop): Use scoped_restore.
+
+2016-10-21  Tom Tromey  <tom@tromey.com>
+
+       * utils.c (make_cleanup_restore_ui_file, do_restore_ui_file)
+       (struct restore_ui_file_closure): Remove.
+       * utils.h (make_cleanup_restore_ui_file): Don't declare.
+       * guile/scm-ports.c (ioscm_with_output_to_port_worker): Use
+       scoped_restore.
+       * top.c (execute_command_to_string): Use scoped_restore.
+
 2016-10-21  Tom Tromey  <tom@tromey.com>
 
        * common/scoped_restore.h: New file.
This page took 0.025478 seconds and 4 git commands to generate.