+2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ada-typeprint.c (ada_print_typedef): Don't print newline at the
+ end.
+ * c-typeprint.c (c_print_typedef): Likewise.
+ * f-typeprint.c (f_print_typedef): Likewise.
+ * m2-typeprint.c (m2_print_typedef): Likewise.
+ * p-typeprint.c (pascal_print_typedef): Likewise.
+ * rust-lang.c (rust_print_typedef): Likewise.
+ * symtab.c (print_symbol_info): Print a newline after calling
+ typedef_print.
+
+2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * symtab.c (info_module_cmdlist): New variable.
+ (info_module_command): New function.
+ (search_module_symbols): New function.
+ (info_module_subcommand): New function.
+ (struct info_modules_var_func_options): New struct.
+ (info_modules_var_func_options_defs): New variable.
+ (make_info_modules_var_func_options_def_group): New function.
+ (info_module_functions_command): New function.
+ (info_module_variables_command): New function.
+ (info_module_var_func_command_completer): New function.
+ (_initialize_symtab): Register new 'info module functions' and
+ 'info module variables' commands.
+ * symtab.h (typedef symbol_search_in_module): New typedef.
+ (search_module_symbols): Declare new function.
+ * NEWS: Mention new commands.
+
+2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (dw2_symtab_iter_next): Handle MODULE_DOMAIN.
+ (dw2_expand_marked_cus): Handle MODULES_DOMAIN.
+ (dw2_debug_names_iterator::next): Handle MODULE_DOMAIN and
+ MODULES_DOMAIN.
+ (scan_partial_symbols): Only create partial module symbols for non
+ declarations.
+ * psymtab.c (recursively_search_psymtabs): Handle MODULE_DOMAIN
+ and MODULES_DOMAIN.
+ * symtab.c (search_domain_name): Likewise.
+ (search_symbols): Likewise.
+ (print_symbol_info): Likewise.
+ (symtab_symbol_info): Likewise.
+ (info_modules_command): New function.
+ (_initialize_symtab): Register 'info modules' command.
+ * symtab.h (enum search_domain): Add MODULES_DOMAIN.
+ * NEWS: Mention new 'info modules' command.
+
+2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * NEWS: Mention $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting
+ and $_gdb_maint_setting_str.
+
+2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * cli/cli-cmds.c (setting_cmd, value_from_setting)
+ (gdb_setting_internal_fn, gdb_maint_setting_internal_fn)
+ (str_value_from_setting, gdb_setting_str_internal_fn)
+ (gdb_maint_setting_str_internal_fn): New functions.
+ (_initialize_cli_cmds): Define the new convenience functions.
+ * gdb/cli/cli-setshow.h (get_setshow_command_value_string): Constify.
+ * gdb/cli/cli-setshow.c (get_setshow_command_value_string): Constify.
+
+2019-10-31 Christian Biesinger <cbiesinger@google.com>
+
+ * agent.c (set_can_use_agent): When the setting is turned on,
+ look up agent symbols if we don't have them yet.
+ (agent_new_objfile): Don't look up agent symbols when the agent
+ setting is off.
+
+2019-10-31 Christian Biesinger <cbiesinger@google.com>
+
+ * config.in: Regenerate.
+
+2019-10-31 Christian Biesinger <cbiesinger@google.com>
+
+ * configure: Regenerate.
+ * configure.ac: Check for strerror_r.
+ * gdbsupport/common-utils.h (safe_strerror): Change return value
+ to const char * and document that this function is now threadsafe.
+ * gdbsupport/posix-strerror.c (safe_strerror): Make buf
+ thread_local and call strerror_r, if available.
+ * utils.c (perror_string): Update.
+ (print_sys_errmsg): Update.
+
+2019-10-31 Luis Machado <luis.machado@linaro.org>
+
+ * arm-tdep.c (arm_exidx_data_key): Use bfd_key instead of
+ objfile_key.
+ (arm_exidx_new_objfile): Adjust to use objfile->obfd instead of
+ objfile to fetch per-bfd data.
+ (arm_find_exidx_entry): Likewise.
+
+2019-10-31 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbsupport/agent.c (debug_agent): Change type to bool.
+ (use_agent): Likewise.
+ (all_agent_symbols_look_up): Likewise.
+ (agent_loaded_p): Change return value to bool.
+ (agent_look_up_symbols): Update.
+ (agent_capability_check): Change return value to bool.
+ * gdbsupport/agent.h (agent_loaded_p): Likewise.
+ (debug_agent): Change type to bool.
+ (use_agent): Likewise.
+ (agent_capability_check): Change return value to bool.
+
+2019-10-30 Christian Biesinger <cbiesinger@google.com>
+
+ * minsyms.c (clear_minimal_symbol_hash_tables): New function.
+ (build_minimal_symbol_hash_tables): Code to clear the table moved
+ to clear_minimal_symbol_hash_tables.
+ (minimal_symbol_reader::install): Call clear_minimal_symbol_hash_tables
+ when needed.
+
+2019-10-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * infcmd.c: Remove includes.
+ * infrun.c: Remove includes.
+
+2019-10-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ada-lang.h (GROW_VECT): Move to ada-lang.c.
+ (grow_vect): Remove declaration.
+ (ada_type_of_array): Remove declaration.
+ (ada_update_initial_language): Remove declaration.
+ (ada_fold_name): Remove declaration.
+ (ada_fill_in_ada_prototype): Remove declaration.
+ (user_select_syms): Remove declaration.
+ (get_selections): Remove declaration.
+ (ada_tag_type): Remove declaration.
+ (ada_value_tag): Remove declaration.
+ (ada_is_others_clause): Remove declaration.
+ (ada_in_variant): Remove declaration.
+ (ada_value_struct_elt): Remove declaration.
+ (ada_attribute_name): Remove declaration.
+ (ada_system_address_type): Remove declaration.
+ * ada-lang.c (ada_watch_location_expression): Make static.
+ (GROW_VECT): Move here from ada-lang.h.
+ (grow_vect): Make static.
+ (ada_update_initial_language): Make static.
+ (ada_fold_name): Make static.
+ (ada_type_of_array): Make static.
+ (encoded_ordered_before): Move up.
+ (sort_choices): Move up.
+ (print_signatures): Move up.
+ (ada_print_symbol_signature): Move up.
+ (get_selections): Move up and make static.
+ (user_select_syms): Move up and make static.
+ (ada_value_struct_elt): Move up and make static.
+ (ada_tag_type): Make static.
+ (ada_value_tag): Make static.
+ (ada_is_others_clause): Make static.
+ (ada_in_variant): Make static.
+ (ada_attribute_name): Make static.
+
+2019-10-29 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ada-lang.c: Remove includes.
+ * ada-typeprint.c: Remove includes.
+ * ada-valprint.c: Remove includes.
+
+2019-10-29 Simon Marchi <simon.marchi@efficios.com>
+
+ * addrmap.c: Add static assertions of type size, moved from
+ _initialize_addrmap.
+ (_initialize_addrmap): Remove.
+
+2019-10-29 Christian Biesinger <cbiesinger@google.com>
+
+ * coffread.c (record_minimal_symbol): Update.
+ (process_coff_symbol): Update.
+ * dbxread.c (read_dbx_symtab): Update.
+ * dwarf2read.c (add_partial_symbol): Update.
+ (fixup_go_packaging): Update.
+ (load_partial_dies): Update.
+ (new_symbol): Update.
+ * elfread.c (record_minimal_symbol): Change signature to use
+ gdb::string_view instead of name+len.
+ (elf_symtab_read): Update.
+ (elf_rel_plt_read): Update.
+ * mdebugread.c (parse_partial_symbols): Update.
+ (handle_psymbol_enumerators): Update.
+ (new_symbol): Update.
+ * minsyms.c (minimal_symbol_reader::record_full): Change signature
+ to use gdb::string_view instead of name+len.
+ * minsyms.h (class minimal_symbol_reader) <record_full>: Likewise.
+ * psympriv.h (add_psymbol_to_list): Likewise.
+ * psymtab.c (add_psymbol_to_bcache): Likewise.
+ (add_psymbol_to_list): Likewise.
+ * stabsread.c (define_symbol): Update.
+ * symtab.c (symbol_set_names): Change signature to use gdb::string_view.
+ * symtab.h (SYMBOL_SET_NAMES): Likewise.
+ (symbol_set_names): Likewise.
+ * xcoffread.c (scan_xcoff_symtab): Update.
+
+2019-10-29 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.h (symbol_set_names): Document that copy_name must be
+ set to true for non-nullterminated strings.
+ * symtab.c (symbol_set_names): Only make a nullterminated copy of
+ linkage_name if the entry was not found and we need to demangle.
+
+2019-10-29 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Add gdb_binary_search.h.
+ * dwarf2-frame.c (bsearch_fde_cmp): Update.
+ (dwarf2_frame_find_fde): Replace bsearch with gdb::binary_search.
+ * gdbsupport/gdb_binary_search.h: New file.
+
+2019-10-29 Christian Biesinger <cbiesinger@google.com>
+
+ * NEWS: Mention new --with-system-gdbinit-dir option.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Add new option --with-system-gdbinit-dir.
+ * extension.c (get_ext_lang_of_file): Return extension_language_gdb
+ for a ".gdb" suffix.
+ * main.c (get_init_files): Change system_gdbinit argument to
+ a vector and return the files in SYSTEM_GDBINIT_DIR in
+ addition to SYSTEM_GDBINIT.
+ (captured_main_1): Update.
+ (print_gdb_help): Update.
+ * top.c (print_gdb_configuration): Also print the value of
+ SYSTEM_GDBINIT_DIR.
+
2019-10-28 Christian Biesinger <cbiesinger@google.com>
* gdbsupport/common-utils.h (startswith): Add an overloaded version