]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Rename make_symbol_completion_list_fn -> symbol_completer
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 550a7a8245fd4f320945f6189f4c0efc86aa284d..3e41709f8ae5c29aa6396583fb60183f1e28231a 100644 (file)
@@ -1,3 +1,74 @@
+2017-07-17  Pedro Alves  <palves@redhat.com>
+
+       * completer.c (symbol_completer): New function, based on
+       make_symbol_completion_list_fn.
+       * completer.h (symbol_completer): New declaration.
+       * guile/scm-cmd.c (cmdscm_completers): Adjust.
+       * python/py-cmd.c (completers): Adjust.
+       * symtab.c (make_symbol_completion_list_fn): Delete.
+       * symtab.h (make_symbol_completion_list_fn): Delete.
+       * cli/cli-decode.c (add_cmd): Adjust.
+
+2017-07-17  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMMON_OBS): Add filename-seen-cache.o.
+       * dwarf2read.c: Include "filename-seen-cache.h".
+       * dwarf2read.c (dwarf2_per_objfile) <filenames_cache>: New field.
+       (dw2_map_symbol_filenames): Build and use a filenames_seen_cache.
+       * filename-seen-cache.c: New file.
+       * filename-seen-cache.h: New file.
+       * symtab.c: Include "filename-seen-cache.h".
+       (struct filename_seen_cache, INITIAL_FILENAME_SEEN_CACHE_SIZE)
+       (create_filename_seen_cache, clear_filename_seen_cache)
+       (delete_filename_seen_cache, filename_seen): Delete, parts moved
+       to filename-seen-cache.h/filename-seen-cache.c.
+       (output_source_filename, sources_info)
+       (maybe_add_partial_symtab_filename)
+       (make_source_files_completion_list): Adjust to use
+       filename_seen_cache.
+
+2017-07-17  Pedro Alves  <palves@redhat.com>
+
+       * dwarf2read.c (dwarf2_per_objfile): In-class initialize all
+       fields.
+       (dwarf2_per_objfile::dwarf2_per_objfile(objfile*, const
+       dwarf2_debug_sections*)): New.
+       (dwarf2_per_objfile::dwarf2_per_objfile(const
+       dwarf2_per_objfile&)): Declare as deleted.
+       (dwarf2_per_objfile::operator=): Declare as deleted.
+       (dwarf2_per_objfile::dwarf2_per_objfile)
+       (dwarf2_per_objfile::~dwarf2_per_objfile)
+       (dwarf2_per_objfile::free_cached_comp_units): New.
+       (dwarf2_has_info): dwarf2_per_objfile initialization code moved to
+       ctor.  Call dwarf2_per_objfile's ctor manually.
+       (dwarf2_locate_sections): Deleted/refactored as ...
+       (dwarf2_per_objfile::locate_sections): ... this new method.
+       (free_cached_comp_units): Defer to
+       dwarf2_per_objfile::free_cached_comp_units.
+       (dwarf2_free_objfile): Call dwarf2_per_objfile's dtor manually.
+
+2017-07-14  Tom Tromey  <tom@tromey.com>
+
+       PR rust/21764:
+       * rust-exp.y (convert_ast_to_expression): Add "want_type"
+       parameter.
+       <UNOP_SIZEOF>: Split into separate case.
+       <UNOP_VAR_VALUE>: Handle want_type.  Add error case.
+
+2017-07-14  Tom Tromey  <tom@tromey.com>
+
+       PR rust/21763:
+       * symtab.c (symbol_matches_domain): Add language_rust to special
+       case.
+       * rust-exp.y (convert_ast_to_expression) <OP_VAR_VALUE>: Don't
+       treat LOC_TYPEDEF symbols as variables.
+
+2017-07-14  Pedro Alves  <palves@redhat.com>
+
+       * symtab.c (make_file_symbol_completion_list_1): Iterate over
+       symtabs matching all symtabs with SRCFILE as file name instead of
+       only considering the first hit, with lookup_symtab.
+
 2017-07-14  Simon Marchi  <simon.marchi@ericsson.com>
 
        * ax-gdb.c (gen_aggregate_elt_ref): Remove operand_name and