Add some error checking to DWARF assembler
[binutils-gdb.git] / gdb / ChangeLog
index fa4d5b7d24c3dc9b0b35181f31524f20e59df2a8..a4400b3a77cdd00e3edd5082bf3a638bb979a5a7 100644 (file)
@@ -1,3 +1,97 @@
+2021-03-30  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       PR gdb/27541
+       * dwarf2/read.c (dwarf2_has_info): Don't share dwarf2_per_bfd
+       with objfiles using READNOW.
+
+2021-03-29  Tom Tromey  <tromey@adacore.com>
+
+       * top.c (check_frame_language_change): Update.
+       * language.c (language_info): Remove parameter.
+       * language.h (language_info): Remove parameter.
+
+2021-03-29  Luis Machado  <luis.machado@linaro.org>
+
+       * compile/compile.c (get_args): Don't add empty argv entries.
+
+2021-03-29  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       gdb:
+       * procfs.c (procfs_target::attach): Define inf.
+       Use it.
+       (procfs_target::create_inferior): Likewise.
+
+2021-03-28  Tom Tromey  <tom@tromey.com>
+
+       * elfread.c (can_lazily_read_symbols): Move to dwarf2/read.c.
+       (elf_symfile_read): Simplify.
+       * dwarf2/read.c (struct lazy_dwarf_reader): Move from elfread.c.
+       (make_lazy_dwarf_reader): New function.
+       (make_dwarf_gdb_index, make_dwarf_debug_names): Now static.
+       (dwarf2_initialize_objfile): Return void.  Remove index_kind
+       parameter.  Push on 'qf' list.
+       * dwarf2/public.h (dwarf2_initialize_objfile): Change return
+       type.  Remove 'index_kind' parameter.
+       (make_dwarf_gdb_index, make_dwarf_debug_names): Don't declare.
+
+2021-03-27  Tom Tromey  <tom@tromey.com>
+
+       * elfread.c (elf_sym_fns_lazy_psyms): Don't declare.
+
+2021-03-27  Tom Tromey  <tom@tromey.com>
+
+       * elfread.c (elf_symfile_read): Don't clear 'qf'.
+
+2021-03-26  Lancelot Six  <lsix@lancelotsix.com>
+
+       * contrib/gdb-add-index.sh: Avoid variable shadowing and get
+       rid of 'local'.
+
+2021-03-26  Tom Tromey  <tom@tromey.com>
+
+       * symtab.c (struct output_source_filename_data): Add 'output'
+       method and operator().
+       (output_source_filename_data::output): Rename from
+       output_source_filename.
+       (output_partial_symbol_filename): Remove.
+       (info_sources_command): Update.
+       (struct add_partial_filename_data): Add operator().
+       (add_partial_filename_data::operator()): Rename from
+       maybe_add_partial_symtab_filename.
+       (make_source_files_completion_list): Update.
+       * symfile.c (quick_symbol_functions): Update.
+       * symfile-debug.c (objfile::map_symbol_filenames): Update.
+       * quick-symbol.h (symbol_filename_ftype): Change type of 'fun' and
+       'need_fullname'.  Remove 'data' parameter.
+       (struct quick_symbol_functions) <map_symbol_filenames>: Likewise.
+       * psymtab.c (psymbol_functions::map_symbol_filenames): Update.
+       * psympriv.h (struct psymbol_functions) <map_symbol_filenames>:
+       Change type of 'fun' and 'need_fullname'.  Remove 'data'
+       parameter.
+       * objfiles.h (struct objfile) <map_symbol_filenames>: Change type
+       of 'fun' and 'need_fullname'.  Remove 'data' parameter.
+       * mi/mi-cmd-file.c (print_partial_file_name): Remove 'ignore'
+       parameter.
+       (mi_cmd_file_list_exec_source_files): Update.
+       * dwarf2/read.c
+       (dwarf2_base_index_functions::map_symbol_filenames): Update.
+
+2021-03-26  Tom Tromey  <tom@tromey.com>
+
+       * ada-lang.c (struct match_data): Add operator().
+       (match_data::operator()): Rename from aux_add_nonlocal_symbols.
+       (callback): Remove 'callback'.
+
+2021-03-26  Tom Tromey  <tom@tromey.com>
+
+       * psymtab.c (psymbol_functions::expand_symtabs_matching): Only
+       call make_ignore_params once.
+
+2021-03-26  Tom Tromey  <tom@tromey.com>
+
+       * psymtab.c (psymbol_functions::expand_symtabs_matching): Remove
+       "user" check.
+
 2021-03-26  Simon Marchi  <simon.marchi@efficios.com>
            Pedro Alves  <pedro@palves.net>