+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
+ operator_name parameters.
+ (gen_expr): Update function call.
+
+2017-07-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * dwarf2loc.h (dwarf2_compile_expr_to_ax): Remove gdbarch
+ parameter.
+ * symtab.h (struct symbol_computed_ops::tracepoint_var_ref):
+ Likewise.
+ * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove gdbarch
+ parameter, use agent_expr::gdbarch instead, update function
+ calls.
+ (locexpr_tracepoint_var_ref): Likewise.
+ (loclist_tracepoint_var_ref): Likewise.
+ * ax-gdb.c (gen_trace_static_fields): Likewise.
+ (gen_traced_pop): Likewise.
+ (gen_frame_args_address): Likewise.
+ (gen_frame_locals_address): Likewise.
+ (gen_var_ref): Likewise.
+ (gen_struct_ref_recursive): Likewise.
+ (gen_static_field): Likewise.
+ (gen_maybe_namespace_elt): Likewise.
+ (gen_expr): Likewise.
+ (gen_trace_for_var): Likewise.
+ (gen_trace_for_expr): Likewise.
+ (gen_trace_for_return_address): Likewise.
+
+2017-07-14 Simon Marchi <simon.marchi@ericsson.com>
+
+ * ax-gdb.c (gen_deref, gen_address_of): Remove unused ax
+ parameter.
+ (gen_struct_ref, gen_expr, gen_expr_binop_rest): Update call.
+
2017-07-14 Simon Marchi <simon.marchi@ericsson.com>
* ax-gdb.c (gen_usual_unary): Remove exp parameter, get gdbarch