Convert auxv.c to type-safe registry API
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ca20a7c365461612d90bb264d9471ac3ff4f0a76..bdf30aa18a11257a257545a34653e28b97f46a4e 100644 (file)
@@ -1,3 +1,174 @@
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * auxv.c (auxv_inferior_data): Move.  Change type.
+       (auxv_inferior_data_cleanup): Remove.
+       (invalidate_auxv_cache_inf): Rewrite.
+       (get_auxv_inferior_data, _initialize_auxv): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * symfile-debug.c (struct debug_sym_fns_data): Add initializers.
+       (symfile_debug_objfile_data_key): Change type.
+       (symfile_debug_installed, debug_qf_has_symbols)
+       (debug_qf_find_last_source_symtab)
+       (debug_qf_forget_cached_source_info)
+       (debug_qf_map_symtabs_matching_filename, debug_qf_lookup_symbol)
+       (debug_qf_print_stats, debug_qf_dump)
+       (debug_qf_expand_symtabs_for_function)
+       (debug_qf_expand_all_symtabs)
+       (debug_qf_expand_symtabs_with_fullname)
+       (debug_qf_map_matching_symbols)
+       (debug_qf_expand_symtabs_matching)
+       (debug_qf_find_pc_sect_compunit_symtab)
+       (debug_qf_map_symbol_filenames)
+       (debug_qf_find_compunit_symtab_by_address, debug_sym_get_probes)
+       (debug_sym_new_init, debug_sym_init, debug_sym_read)
+       (debug_sym_read_psymbols, debug_sym_finish, debug_sym_offsets)
+       (debug_sym_read_linetable, debug_sym_relocate): Update.
+       (symfile_debug_free_objfile): Remove.
+       (install_symfile_debug_logging, _initialize_symfile_debug):
+       Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * dwarf2read.h (struct dwarf2_per_objfile): Don't inherit from
+       allocate_on_obstack.
+       * dwarf2read.c (dwarf2_objfile_data_key): Change type.
+       (get_dwarf2_per_objfile): Update.
+       (set_dwarf2_per_objfile): Remove.
+       (dwarf2_has_info, dwarf2_get_section_info): Update.
+       (dwarf2_free_objfile): Remove.
+       (_initialize_dwarf2_read): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * auto-load.c (struct auto_load_pspace_info): Add destructor and
+       initializers.
+       <unsupported_script_warning_printed,
+       script_not_found_warning_printed>: Now bool.
+       (auto_load_pspace_data): Change type.
+       (~auto_load_pspace_info): Rename from
+       auto_load_pspace_data_cleanup.
+       (get_auto_load_pspace_data, init_loaded_scripts_info)
+       (clear_section_scripts, maybe_print_unsupported_script_warning)
+       (maybe_print_script_not_found_warning, _initialize_auto_load):
+       Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * objfiles.c (objfile_pspace_info): Add destructor and
+       initializers.
+       (objfiles_pspace_data): Change type.
+       (~objfile_pspace_info): Rename from objfiles_pspace_data_cleanup.
+       (get_objfile_pspace_data): Update.
+       (objfiles_bfd_data): Change type.
+       (get_objfile_bfd_data): Update.
+       (objfile_bfd_data_free, _initialize_objfiles): Remove.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * break-catch-syscall.c (catch_syscall_inferior_data): Move.
+       Change type.
+       (get_catch_syscall_inferior_data): Update.
+       (catch_syscall_inferior_data_cleanup): Remove.
+       (_initialize_break_catch_syscall): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * inflow.c (struct terminal_info): Add destructor and
+       initializers.
+       (inflow_inferior_data): Change type.
+       (~terminal_info): Rename from inflow_inferior_data_cleanup.
+       (get_inflow_inferior_data, inflow_inferior_exit)
+       (swap_terminal_info, _initialize_inflow): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * target-dcache.c (target_dcache_cleanup): Remove.
+       (target_dcache_aspace_key): Change type.
+       (target_dcache_init_p, target_dcache_invalidate)
+       (target_dcache_get, target_dcache_get_or_init)
+       (_initialize_target_dcache): Update.
+       * dcache.h (struct dcache_deleter): New.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (struct symbol_cache): Add destructor and
+       initializers.
+       (symbol_cache_key): Move.  Change type.
+       (make_symbol_cache, free_symbol_cache): Remove.
+       (get_symbol_cache): Update.
+       (symbol_cache_cleanup): Remove.
+       (ALL_PSPACES, symbol_cache_flush)
+       (maintenance_print_symbol_cache)
+       (maintenance_print_symbol_cache_statistics, _initialize_symtab):
+       Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (struct main_info): Add destructor and initializers.
+       (main_progspace_key): Move.  Change type.
+       (get_main_info): Update.
+       (main_info_cleanup): Remove.
+       (_initialize_symtab): Update.
+
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * registry.h (DECLARE_REGISTRY): Define the _key class.
+
+2019-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * NEWS: Merge two 'New commands' sections.
+
+2019-05-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-valprint.c (ada_val_print_gnat_array): Remove language
+       parameter and use Ada language definition instead.
+       (ada_val_print_ptr): Remove unused language parameter.
+       (ada_val_print_num): Remove language parameter and use Ada language
+       definition instead.
+       (ada_val_print_enum, ada_val_print_flt): Remove unused language
+       parameter.
+       (ada_val_print_struct_union, ada_val_print_ref): Remove language
+       parameter and use Ada language definition instead.
+       (ada_val_print_1): Update all ada_val_print_xxx calls.
+       Remove language parameter.
+       (ada_val_print): Update ada_val_print_1 call.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * remote.c (remote_hw_watchpoint_limit)
+       (remote_hw_watchpoint_length_limit, remote_hw_breakpoint_limit):
+       Now static.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * maint.c (_initialize_maint_cmds): Move initialization code to
+       remote.c.
+       (watchdog, show_watchdog): Move to remote.c.
+       * remote.c (watchdog, show_watchdog): Move from maint.c.  Make
+       "watchdog" static.
+       (_initialize_remote): Move initialization code from maint.c.
+       * defs.h (watchdog): Don't declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * tui/tui-interp.c: Include main.h.
+       * interps.c: Include main.h.
+       * main.h (interpreter_p): Declare.
+       * defs.h (interpreter_p): Don't declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * dwarf2loc.c: Include dwarf2read.h.
+       * defs.h (read_unsigned_leb128): Don't declare.
+       * dwarf2read.h (read_unsigned_leb128): Declare.
+
+2019-05-08  Tom Tromey  <tromey@adacore.com>
+
+       * utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a
+       method.
+
 2019-05-08  Tom Tromey  <tromey@adacore.com>
 
        * utils.c (fputs_maybe_filtered): Reset style after paging, even
This page took 0.037229 seconds and 4 git commands to generate.