+2019-11-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdbsupport/format.c (format_pieces::format_pieces): Support
+ printf 'z' size modifier.
+ * gdbsupport/format.h (enum argclass): Add size_t_arg.
+ * printcmd.c (ui_printf): Handle size_t_arg.
+ * ui-out.c (ui_out::vmessage): Likewise.
+ * unittests/format_pieces-selftests.c (test_format_int_sizes): New
+ function.
+ (run_tests): Call test_format_int_sizes.
+
+2019-11-12 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-exp.y (write_ambiguous_var): Update.
+ * buildsym.c (add_symbol_to_list): Update.
+ * dwarf2read.c (read_variable): Update.
+ (new_symbol): Update.
+ * jit.c (finalize_symtab): Update.
+ * language.c (language_alloc_type_symbol): Update.
+ * symtab.c (fixup_symbol_section): Update.
+ (initialize_objfile_symbol_1): Move code to...
+ (initialize_objfile_symbol): ...here. Remove now-unnecessary memset.
+ (allocate_symbol): Update.
+ (allocate_template_symbol): Update.
+ (get_symbol_address): Update.
+ * symtab.h (struct symbol): Inherit from general_symbol_info instead
+ of having as a field, and add a constructor.
+ (SYMBOL_VALUE): Update.
+ (SYMBOL_VALUE_ADDRESS): Update.
+ (SET_SYMBOL_VALUE_ADDRESS): Update.
+ (SYMBOL_VALUE_BYTES): Update.
+ (SYMBOL_VALUE_COMMON_BLOCK): Update.
+ (SYMBOL_BLOCK_VALUE): Update.
+ (SYMBOL_VALUE_CHAIN): Update.
+ (SYMBOL_LANGUAGE): Update.
+ (SYMBOL_SECTION): Update.
+ (SYMBOL_OBJ_SECTION): Update.
+ (SYMBOL_SET_LANGUAGE): Update.
+ (SYMBOL_SET_LINKAGE_NAME): Update.
+ (SYMBOL_SET_NAMES): Update.
+ (SYMBOL_NATURAL_NAME): Update.
+ (SYMBOL_LINKAGE_NAME): Update.
+ (SYMBOL_DEMANGLED_NAME): Update.
+ (SYMBOL_SEARCH_NAME): Update.
+ (SYMBOL_MATCHES_SEARCH_NAME): Update.
+ (struct symbol): Update.
+ (struct template_symbol): Update.
+ (struct rust_vtable_symbol): Update.
+ * xcoffread.c (SYMBOL_DUP): Update.
+
+2019-11-12 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-layout.c (show_layout): Set current_layout.
+ (show_source_disasm_command, show_data)
+ (show_source_or_disasm_and_command): Don't set current_layout.
+
+2019-11-12 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-layout.c (_initialize_tui_layout): Move to end.
+
+2019-11-12 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-win.c (resize_message): New global.
+ (show_tui_resize_message): New function.
+ (tui_async_resize_screen): Print message if requested.
+ (_initialize_tui_win): Add tui-resize-message setting.
+ * NEWS: Add entry for new commands.
+
+2019-11-11 Tom Tromey <tom@tromey.com>
+
+ * tui/tui.c (tui_initialize_readline): Add new bindable readline
+ functions.
+
+2019-11-11 Christian Biesinger <cbiesinger@google.com>
+
+ * nat/linux-osdata.c (user_from_uid): Use getpwuid_r.
+
+2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-symbol.c (gdbpy_lookup_static_symbols): New
+ function.
+ * python/python-internal.h (gdbpy_lookup_static_symbols):
+ Declare new function.
+ * python/python.c (python_GdbMethods): Add
+ gdb.lookup_static_symbols method.
+ * NEWS: Mention gdb.lookup_static_symbols.
+
+2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-symbol.c (gdbpy_lookup_static_symbol): Lookup in
+ static block of current object file first. Also fix typo in
+ header comment.
+
+2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * stack.c (set_last_displayed_sal): Delete.
+ (last_displayed_sal_valid): Delete.
+ (last_displayed_pspace): Delete.
+ (last_displayed_addr): Delete.
+ (last_displayed_symtab): Delete.
+ (last_displayed_line): Delete.
+ (class last_displayed_symtab_info_type): New.
+ (last_displayed_symtab_info): New static global variable.
+ (print_frame_info): Call methods on last_displayed_symtab_info.
+ (clear_last_displayed_sal): Update header comment, and make use of
+ last_displayed_symtab_info.
+ (last_displayed_sal_is_valid): Likewise.
+ (get_last_displayed_pspace): Likewise.
+ (get_last_displayed_addr): Likewise.
+ (get_last_displayed_symtab): Likewise.
+ (get_last_displayed_line): Likewise.
+ (get_last_displayed_sal): Likewise.
+ * stack.h (clear_last_displayed_sal): Update header comment.
+ (last_displayed_sal_is_valid): Likewise.
+ (get_last_displayed_pspace): Likewise.
+ (get_last_displayed_addr): Likewise.
+ (get_last_displayed_symtab): Likewise.
+ (get_last_displayed_line): Likewise.
+ (get_last_displayed_sal): Likewise.
+
+2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * stack.c (frame_show_address): Convert return type to bool.
+ * stack.h (frame_show_address): Likewise, and update header
+ comment.
+
+2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add new file to the list.
+ * unittests/vec-utils-selftests.c: New file.
+ * gdbsupport/gdb_vecs.h (unordered_remove): Avoid self move assign.
+
+2019-11-10 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.c (tui_unhighlight_win): Use can_box.
+ (tui_highlight_win): Likewise.
+ (tui_win_info::check_and_display_highlight_if_needed): Likewise.
+ * tui/tui-data.h (struct tui_win_info) <can_highlight>: Remove.
+ * tui/tui-command.h (struct tui_cmd_window) <tui_cmd_window>:
+ Don't set can_highlight.
+
+2019-11-10 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-style.h (class cli_style_option) <cli_style_option>:
+ Remove unused declaration.
+
+2019-11-08 Tom Tromey <tromey@adacore.com>
+
+ * top.c (read_command_file): Update.
+ (command_line_input): Make return type const.
+ * python/py-gdb-readline.c: Update.
+ * linespec.c (decode_line_2): Update.
+ * defs.h (command_line_input): Make return type const.
+ * cli/cli-script.c (read_next_line): Make return type const.
+ * ada-lang.c (get_selections): Update.
+
+2019-11-06 Christian Biesinger <cbiesinger@google.com>
+
+ * linux-tdep.c (linux_info_proc): Use strtok_r instead of strtok.
+ * mi/mi-main.c (output_cores): Likewise.
+ * nat/linux-osdata.c (linux_xfer_osdata_cpus): Likewise.
+ (linux_xfer_osdata_modules): Likewise.
+ * remote.c (register_remote_support_xml): Likewise.
+ * sparc64-tdep.c (adi_is_addr_mapped): Likewise.
+ * xml-syscall.c (syscall_create_syscall_desc): Likewise.
+
+2019-11-06 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-interp.c: Don't include readline.h.
+ * tui/tui-hooks.c: Don't include readline.h.
+ * symmisc.c: Include tilde.h, not readline.h.
+ * symfile.c: Include tilde.h, not readline.h.
+ * source.c: Include tilde.h, not readline.h.
+ * solib.c: Include tilde.h, not readline.h.
+ * psymtab.c: Include tilde.h, not readline.h.
+ * exec.c: Include tilde.h, not readline.h.
+ * corelow.c: Include tilde.h, not readline.h.
+ * cli/cli-dump.c: Include tilde.h, not readline.h.
+ * cli/cli-cmds.c: Don't include readline.h.
+
+2019-11-05 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-disasm.c (struct tui_asm_line) <addr_size>: New member.
+ (tui_disassemble): Set addr_size.
+ (tui_disasm_window::set_contents): Use addr_size.
+
+2019-11-05 Tom Tromey <tom@tromey.com>
+
+ * rust-lang.c (rust_language_defn): Update.
+ * python/py-value.c (valpy_string): Call c_get_string.
+ * p-lang.c (pascal_language_defn): Update.
+ * opencl-lang.c (opencl_language_defn): Update.
+ * objc-lang.c (objc_language_defn): Update.
+ * m2-lang.c (m2_language_defn): Update.
+ * language.c (unknown_language_defn, auto_language_defn): Update.
+ (default_get_string): Remove.
+ * guile/scm-value.c (gdbscm_value_to_string): Use c_get_string.
+ * go-lang.c (go_language_defn): Update.
+ * f-lang.c (f_language_defn): Update.
+ * d-lang.c (d_language_defn): Update.
+ * c-lang.c (c_language_defn, cplus_language_defn)
+ (asm_language_defn, minimal_language_defn): Update.
+ * ada-lang.c (ada_language_defn): Update.
+ * language.h (struct language_defn) <la_get_string>: Remove.
+ (LA_GET_STRING): Remove.
+ (default_get_string): Don't declare.
+
+2019-11-05 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-source.h (struct tui_source_window): Inline
+ constructor. Remove destructor.
+ <style_changed, m_observable>: Move to superclass.
+ * tui/tui-winsource.h (tui_copy_source_line): Declare.
+ (struct tui_source_window_base): Move private members to end.
+ <style_changed, m_observable>: Move from tui_source_window.
+ * tui/tui-winsource.c (tui_copy_source_line): Move from
+ tui-source.c. Rename from copy_source_line. Add special handling
+ for negative line number.
+ (tui_source_window_base::style_changed): Move from
+ tui_source_window.
+ (tui_source_window_base): Register observer.
+ (~tui_source_window_base): New.
+ * tui/tui-source.c (copy_source_line): Move to tui-winsource.c;
+ rename.
+ (tui_source_window::set_contents): Use tui_copy_source_line.
+ (tui_source_window::tui_source_window): Move to tui-source.h.
+ (tui_source_window::~tui_source_window): Remove.
+ (tui_source_window::style_changed): Move to superclass.
+ * tui/tui-disasm.c (tui_disassemble): Create string file with
+ styling, when possible. Add "addr_size" parameter.
+ (tui_disasm_window::set_contents): Use tui_copy_source_line.
+ Don't compute maximum size.
+ (len_without_escapes): New function
+
+2019-11-05 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (struct tui_source_element) <line>: Now a
+ std::string.
+ * tui/tui-winsource.c (tui_show_source_line): Update.
+ * tui/tui-source.c (tui_source_window::set_contents): Update.
+ * tui/tui-disasm.c (tui_disasm_window::set_contents): Update.
+
+2019-11-05 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.h (gdb_static_assert): Put && operator at the beginning
+ of the line instead of the end.
+
+2019-11-04 Christian Biesinger <cbiesinger@google.com>
+
+ * psympriv.h: Add static_asserts for sizeof (general_symbol_info)
+ and sizeof (symbol).
+ * symtab.h: Add a static_assert for sizeof (partial_symbol).
+
+2019-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * NEWS (Changes since GDB 8.3): Document Solaris 10 removal.
+ * configure.host: Mark *-*-solaris2.10* obsolete.
+ * configure.tgt: Mark Solaris < 11 obsolete.
+ * MAINTAINERS (Target Instruction Set Architectures) <sparc>:
+ Update target triplet.
+
+2019-11-01 Tom Tromey <tromey@adacore.com>
+
+ * utils.c (print_sys_errmsg): Simplify.
+
+2019-11-01 Tom Tromey <tromey@adacore.com>
+
+ * gdbsupport/mingw-strerror.c (safe_strerror): Constify result.
+
+2019-11-01 Christian Biesinger <cbiesinger@google.com>
+
+ * configure: Regenerate.
+ * configure.ac: Remove check for strerror_r.
+ * gdbsupport/common.m4: Check for strerror_r.
+
+2019-11-01 Luis Machado <luis.machado@linaro.org>
+
+ PR gdb/25124
+
+ * arm-tdep.c (arm_per_objfile): Rename to ...
+ (arm_per_bfd): ... this.
+ (arm_objfile_data_key): Rename to ...
+ (arm_bfd_data_key): ... this.
+ (arm_find_mapping_symbol): Adjust access to new bfd_key-based
+ data.
+ (arm_record_special_symbol): Likewise.
+
+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
+ that takes gdb::string_view arguments.
+
+2019-10-26 Tom de Vries <tdevries@suse.de>
+
+ * aarch64-linux-tdep.c: Fix typos in comments.
+ * aarch64-tdep.c: Same.
+ * ada-lang.c: Same.
+ * amd64-nat.c: Same.
+ * arc-tdep.c: Same.
+ * arch/aarch64-insn.c: Same.
+ * block.c: Same.
+ * breakpoint.h: Same.
+ * btrace.h: Same.
+ * c-varobj.c: Same.
+ * cli/cli-decode.c: Same.
+ * cli/cli-script.c: Same.
+ * cli/cli-utils.h: Same.
+ * coff-pe-read.c: Same.
+ * coffread.c: Same.
+ * compile/compile-cplus-symbols.c: Same.
+ * compile/compile-object-run.c: Same.
+ * completer.c: Same.
+ * corelow.c: Same.
+ * cp-support.c: Same.
+ * demangle.c: Same.
+ * dwarf-index-write.c: Same.
+ * dwarf2-frame.c: Same.
+ * dwarf2-frame.h: Same.
+ * eval.c: Same.
+ * frame-base.h: Same.
+ * frame.h: Same.
+ * gdbcmd.h: Same.
+ * gdbtypes.h: Same.
+ * gnu-nat.c: Same.
+ * guile/scm-objfile.c: Same.
+ * i386-tdep.c: Same.
+ * i386-tdep.h: Same.
+ * infcall.c: Same.
+ * infcall.h: Same.
+ * linux-nat.c: Same.
+ * m68k-tdep.c: Same.
+ * macroexp.c: Same.
+ * memattr.c: Same.
+ * mi/mi-cmd-disas.c: Same.
+ * mi/mi-getopt.h: Same.
+ * mi/mi-main.c: Same.
+ * minsyms.c: Same.
+ * nat/aarch64-sve-linux-sigcontext.h: Same.
+ * objfiles.h: Same.
+ * ppc-linux-nat.c: Same.
+ * ppc-linux-tdep.c: Same.
+ * ppc-tdep.h: Same.
+ * progspace.h: Same.
+ * prologue-value.h: Same.
+ * python/py-evtregistry.c: Same.
+ * python/py-instruction.h: Same.
+ * record-btrace.c: Same.
+ * record-full.c: Same.
+ * remote.c: Same.
+ * rs6000-tdep.c: Same.
+ * ser-tcp.c: Same.
+ * sol-thread.c: Same.
+ * sparc-sol2-tdep.c: Same.
+ * sparc64-tdep.c: Same.
+ * stabsread.c: Same.
+ * symfile.c: Same.
+ * symtab.h: Same.
+ * target.c: Same.
+ * tracepoint.c: Same.
+ * tui/tui-data.h: Same.
+ * tui/tui-io.c: Same.
+ * tui/tui-win.c: Same.
+ * tui/tui.c: Same.
+ * unittests/rsp-low-selftests.c: Same.
+ * user-regs.h: Same.
+ * utils.c: Same.
+ * utils.h: Same.
+ * valarith.c: Same.
+ * valops.c: Same.
+ * valprint.c: Same.
+ * valprint.h: Same.
+ * value.c: Same.
+ * value.h: Same.
+ * varobj.c: Same.
+ * x86-nat.h: Same.
+ * xtensa-tdep.c: Same.
+
+2019-10-25 Ali Tamur <tamur@google.com>
+
+ * charset.c (find_charset_names): Reflect API change.
+
+2019-10-25 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry): Change demangled name
+ to a unique_xmalloc_ptr<char>, now that we don't allocate it as
+ part of the struct anymore.
+ (symbol_set_names): No longer obstack allocate + copy the demangled
+ name, just store the allocated name from bfd.
+
+2019-10-25 Tom Tromey <tromey@adacore.com>
+
+ * dwarf2-frame.c (dwarf2_cie_table): Now a typedef.
+ (bsearch_cie_cmp, add_cie): Remove.
+ (find_cie): Reimplement.
+ (decode_frame_entry_1, decode_frame_entry): Change type. Update.
+ (dwarf2_build_frame_info): Update.
+
+2019-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gdb/25126
+ * symfile.c (reread_symbols): Call forget_cached_source_info to
+ clear the stale source cache.
+
+2019-10-24 Christian Biesinger <cbiesinger@google.com>
+
+ * configure: Regenerate.
+ * configure.ac: Remove code that sets python_has_threads.
+
+2019-10-24 Christian Biesinger <cbiesinger@google.com>
+
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Remove the code that uses sed to get the python
+ version and defines HAVE_LIBPYTHON2_6 / HAVE_LIBPYTHON2_7.
+
+2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * python/py-progspace.c (pspy_block_for_pc): Return None for all
+ error paths.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * arc-tdep.c: Remove ".." from include.
+ * frv-tdep.c: Remove ".." from include.
+ * lm32-tdep.c: Remove ".." from include.
+ * microblaze-tdep.c: Remove ".." from include.
+ * or1k-tdep.h: Remove ".." from include.
+ * s12z-tdep.c: Remove ".." from include.
+ * Makefile.in (OPCODES_CFLAGS): Add comment.
+ (TOP_CFLAGS): New variable.
+ (INTERNAL_CFLAGS_BASE): Add TOP_CFLAGS.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (READLINE_DIR): Update.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (call_function_by_hand_dummy): Fix the function
+ comment. And extract out a code section into...
+ (reserve_stack_space): ...this new function.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (value_arg_coerce): Remove an unused parameter.
+ (call_function_by_hand_dummy): Update the call to
+ 'value_arg_coerce'.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * infcall.c (call_function_by_hand_dummy): Refactor.
+
+2019-10-23 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
+
+ * MAINTAINERS (Write After Approval): Add Tankut Baris Aktemur.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * configure.ac: Don't check for sigprocmask.
+ * gdbsupport/common.m4 (GDB_AC_COMMON): Check for sigprocmask.
+
+2019-10-23 Tom Tromey <tom@tromey.com>
+
+ * configure: Rebuild.
+ * acinclude.m4: Use m4_include, not sinclude.
+
+2019-10-23 Tom de Vries <tdevries@suse.de>
+
+ PR breakpoints/24687
+ * symtab.c (iterate_over_some_symtabs): Apply gdb_realpath on fullname.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry) <language>: Change from
+ bitfield to regular variable.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry): Add a constructor.
+ (free_demangled_name_entry): New function to call the destructor
+ for demangled_name_entry.
+ (create_demangled_names_hash): Pass free_demangled_name_entry to
+ htab_create_alloc.
+ (symbol_set_names): Call placement new for demangled_name_entry.
+ * utils.c: No longer include xxhash.h here, now that fast_hash
+ is inlined in the header.
+ * utils.h: Instead, include it here.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Link with libxxhash.
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Search for libxxhash.
+ * utils.c (fast_hash): Use xxhash if present.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * utils.h (fast_hash): New function.
+ * symtab.c (hash_demangled_name_entry): Call new function
+ fast_hash.
+
+2019-10-22 Christian Biesinger <cbiesinger@google.com>
+
+ * symtab.c (struct demangled_name_entry): Change type of mangled
+ to gdb::string_view. Also adds a constructor that takes the
+ mangled name.
+ (hash_demangled_name_entry): Update.
+ (eq_demangled_name_entry): Update.
+ (free_demangled_name_entry): New function to call the destructor
+ now that this is not a POD anymore.
+ (create_demangled_names_hash): Pass free_demangled_name_entry to
+ htab_create_alloc.
+ (symbol_set_names): Update.
+
+2019-10-21 Ali Tamur <tamu@google.com>
+
+ * dwarf2read.c (dir_index): Change type.
+ (file_name_index): Likewise.
+ (line_header::include_dir_at): Change comment and implementation on
+ whether it is DWARF 5.
+ (line_header::is_valid_file_index): New function.
+ (line_header::file_name_at): Change comment and implementation on
+ whether it is DWARF 5.
+ (line_header::file_names): Change to private field renamed as
+ m_file_names and introduce a new accessor method.
+ (line_header::file_names_size): New method.
+ (line_header::include_dirs): Change to private field and rename as
+ m_include_dirs.
+ (dw2_get_file_names_reader): Define local var at a smaller scope and
+ reflect API change.
+ (dwarf2_cu::setup_type_unit_groups): Reflect API change.
+ (process_structure_scope): Likewise.
+ (line_header::add_include_dir): Change message and reflect renaming.
+ (line_header::add_file_name): Likewise.
+ (read_formatted_entries): Handle DW_FORM_data16.
+ (dwarf_decode_line_header): Fix line header length calculation.
+ (psymtab_include_file_name): Change comment and API.
+ (lnp_state_machine::m_file): Update comment and reflect type change.
+ (lnp_state_machine::record_line): Reflect type change.
+ (dwarf_decode_lines): Reflect API change.
+ (file_file_name): Likewise.
+ (file_full_name): Likewise.
+
+2019-10-21 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * objfiles.c (sort_cmp): Ensure that !(a < a) holds true.
+
+2019-10-21 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-winsource.h (tui_exec_info_content): Remove typedef.
+
+2019-10-21 Tom Tromey <tom@tromey.com>
+
+ * configure.ac (nm.h): Conditionally create nm.h link. Subst
+ NM_H. Use AC_CONFIG_LINKS.
+ * configure: Rebuild.
+ * Makefile.in (NM_H): New variable.
+ (generated_files): Add NM_H. Remove gcore.
+ (nm.h, stamp-nmh): New targets.
+
+2019-10-20 Tom Tromey <tom@tromey.com>
+
+ * objfiles.h (unlink_objfile, put_objfile_before): Don't declare.
+ * objfiles.c (unlink_objfile): Move earlier. Now static. Remove
+ obsolete comment.
+ (put_objfile_before): Now static.
+
+2019-10-19 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * gdbsupport/common-utils.h (startswith): Change return type to
+ bool.
+
+2019-10-19 Christian Biesinger <cbiesinger@google.com>
+
+ * bcache.c (bcache::print_statistics): Use std::sort instead of qsort.
+ * breakpoint.c (bp_locations_compare): Rename to...
+ (bp_location_is_less_than): ...this, and change to std::sort semantics.
+ (update_global_location_list): Use std::sort instead of qsort.
+ * buildsym.c (compare_line_numbers): Rename to...
+ (lte_is_less_than): ...this, and change to std::sort semantics.
+ (buildsym_compunit::end_symtab_with_blockvector): Use std::sort
+ instead of qsort.
+ * disasm.c (compare_lines): Rename to...
+ (line_is_less_than): ...this, and change to std::sort semantics.
+ (do_mixed_source_and_assembly_deprecated): Call std::sort instead
+ of qsort.
+ * dwarf2-frame.c (qsort_fde_cmp): Rename to...
+ (fde_is_less_than): ...this, and change to std::sort semantics.
+ (dwarf2_build_frame_info): Call std::sort instead of qsort.
+ * mdebugread.c (compare_blocks):
+ (block_is_less_than): ...this, and change to std::sort semantics.
+ (sort_blocks): Call std::sort instead of qsort.
+ * objfiles.c (qsort_cmp): Rename to...
+ (sort_cmp): ...this, and change to std::sort semantics.
+ (update_section_map): Call std::sort instead of qsort.
+ * remote.c (compare_pnums): Remove.
+ (map_regcache_remote_table): Call std::sort instead of qsort.
+ * utils.c (compare_positive_ints): Remove.
+ * utils.h (compare_positive_ints): Remove.
+ * xcoffread.c (compare_lte): Remove.
+ (arrange_linetable): Call std::sort instead of qsort.
+
+2019-10-19 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * symfile.c (init_entry_point_info): Fix typo.
+ * i386-darwin-tdep.c (darwin_dwarf_signal_frame_p): Fix typo.
+
+2019-10-18 Tom de Vries <tdevries@suse.de>
+
+ * aarch64-tdep.c: Fix typos in comments.
+ * ada-lang.c: Same.
+ * ada-tasks.c: Same.
+ * alpha-tdep.c: Same.
+ * alpha-tdep.h: Same.
+ * amd64-nat.c: Same.
+ * amd64-windows-tdep.c: Same.
+ * arc-tdep.c: Same.
+ * arc-tdep.h: Same.
+ * arch-utils.c: Same.
+ * arm-nbsd-tdep.c: Same.
+ * arm-tdep.c: Same.
+ * ax-gdb.c: Same.
+ * blockframe.c: Same.
+ * btrace.c: Same.
+ * c-varobj.c: Same.
+ * coff-pe-read.c: Same.
+ * coffread.c: Same.
+ * cris-tdep.c: Same.
+ * darwin-nat.c: Same.
+ * dbxread.c: Same.
+ * dcache.c: Same.
+ * disasm.c: Same.
+ * dtrace-probe.c: Same.
+ * dwarf-index-write.c: Same.
+ * dwarf2-frame-tailcall.c: Same.
+ * dwarf2-frame.c: Same.
+ * dwarf2read.c: Same.
+ * eval.c: Same.
+ * exceptions.c: Same.
+ * fbsd-tdep.c: Same.
+ * findvar.c: Same.
+ * frame.c: Same.
+ * frv-tdep.c: Same.
+ * gnu-v3-abi.c: Same.
+ * go32-nat.c: Same.
+ * h8300-tdep.c: Same.
+ * hppa-tdep.c: Same.
+ * i386-linux-tdep.c: Same.
+ * i386-tdep.c: Same.
+ * ia64-libunwind-tdep.c: Same.
+ * ia64-tdep.c: Same.
+ * infcmd.c: Same.
+ * infrun.c: Same.
+ * linespec.c: Same.
+ * linux-nat.c: Same.
+ * linux-thread-db.c: Same.
+ * machoread.c: Same.
+ * mdebugread.c: Same.
+ * mep-tdep.c: Same.
+ * mn10300-tdep.c: Same.
+ * namespace.c: Same.
+ * objfiles.c: Same.
+ * opencl-lang.c: Same.
+ * or1k-tdep.c: Same.
+ * osabi.c: Same.
+ * ppc-linux-nat.c: Same.
+ * ppc-linux-tdep.c: Same.
+ * ppc-sysv-tdep.c: Same.
+ * printcmd.c: Same.
+ * procfs.c: Same.
+ * record-btrace.c: Same.
+ * record-full.c: Same.
+ * remote-fileio.c: Same.
+ * remote.c: Same.
+ * rs6000-tdep.c: Same.
+ * s12z-tdep.c: Same.
+ * score-tdep.c: Same.
+ * ser-base.c: Same.
+ * ser-go32.c: Same.
+ * skip.c: Same.
+ * sol-thread.c: Same.
+ * solib-svr4.c: Same.
+ * solib.c: Same.
+ * source.c: Same.
+ * sparc-nat.c: Same.
+ * sparc-sol2-tdep.c: Same.
+ * sparc-tdep.c: Same.
+ * sparc64-tdep.c: Same.
+ * stabsread.c: Same.
+ * stack.c: Same.
+ * symfile.c: Same.
+ * symtab.c: Same.
+ * target-descriptions.c: Same.
+ * target-float.c: Same.
+ * thread.c: Same.
+ * utils.c: Same.
+ * valops.c: Same.
+ * valprint.c: Same.
+ * value.c: Same.
+ * varobj.c: Same.
+ * windows-nat.c: Same.
+ * xcoffread.c: Same.
+ * xstormy16-tdep.c: Same.
+ * xtensa-tdep.c: Same.
+
+2019-10-17 Tom Tromey <tromey@adacore.com>
+
+ * configure: Rebuild.
+ * configure.ac: Use AC_CONFIG_HEADERS. Create stamp-h there, not
+ in AC_CONFIG_FILES invocation.
+ * Makefile.in (Makefile, data-directory/Makefile, stamp-h): Use
+ new-style config.status invocation.
+
+2019-10-17 Tom de Vries <tdevries@suse.de>
+
+ * arm-nbsd-nat.c: Fix typos in comments.
+ * arm-tdep.c: Same.
+ * darwin-nat-info.c: Same.
+ * dwarf2read.c: Same.
+ * elfread.c: Same.
+ * event-top.c: Same.
+ * findvar.c: Same.
+ * gdbtypes.c: Same.
+ * hppa-tdep.c: Same.
+ * i386-tdep.c: Same.
+ * jit.c: Same.
+ * main.c: Same.
+ * mdebugread.c: Same.
+ * moxie-tdep.c: Same.
+ * nto-procfs.c: Same.
+ * osabi.c: Same.
+ * ppc-linux-tdep.c: Same.
+ * remote.c: Same.
+ * riscv-tdep.c: Same.
+ * s390-tdep.c: Same.
+ * sh-tdep.c: Same.
+ * sparc-linux-tdep.c: Same.
+ * sparc-nat.c: Same.
+ * stack.c: Same.
+ * target-descriptions.c: Same.
+ * top.c: Same.
+ * varobj.c: Same.
+
+2019-10-16 Tom Tromey <tom@tromey.com>
+
+ * objfiles.h (struct objfile) <original_name>: Now const.
+
+2019-10-16 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbsupport/gdb_setjmp.h (SIGSETJMP): Allow passing in the value to
+ pass on to sigsetjmp's second argument.
+ * cp-support.c (gdb_demangle): Unblock SIGSEGV if we caught a crash.
+
+2019-10-16 Keith Seitz <keiths@redhat.com>
+
+ PR gdb/23567
+ * dwarf2read.c (dwarf2_per_objfile::locate_sections): Discard
+ sections whose size is greater than the file size.
+
+2019-10-16 Jim Wilson <jimw@sifive.com>
+
+ * riscv-tdep.c (riscv_gcc_target_options): New.
+ (riscv_gnu_triplet_regexp): New.
+ (riscv_gdbarch_init): Call set_gdbarch_gcc_triplet_options and
+ set_gdbarch_gnu_triplet_regexp.
+
+2019-10-16 Christian Biesinger <cbiesinger@google.com>
+
+ * Makefile.in: Add xml-builtin.h.
+ * features/feature_to_c.sh: Add an include for xml-builtin.h
+ to ensure that the compiler checks that the types match.
+ * xml-builtin.h: New file.
+ * xml-support.c (fetch_xml_builtin): Add missing const.
+ * xml-support.h: Remove declaration of xml_builtins.
+
+2019-10-16 Tom de Vries <tdevries@suse.de>
+
+ PR tdep/25096
+ * amd64-tdep.c (amd64_classify_aggregate_field): Factor out of ...
+ (amd64_classify_aggregate): ... here.
+ (amd64_classify_aggregate_field): Handled fiels of nested structs
+ recursively.
+
+2019-10-16 Tom de Vries <tdevries@suse.de>
+
+ PR tdep/24104
+ * amd64-tdep.c (amd64_push_arguments): Handle AMD64_NO_CLASS in loop
+ that handles 'theclass'.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * linespec.c (decode_digits_ordinary): Update comment.
+ * make-target-delegates: No longer need to handle VEC case.
+ * memrange.c (normalize_mem_ranges): Update comment.
+ * namespace.c (add_using_directive): Update comment.
+ * objc-lang.c (uniquify_strings): Update comment.
+ * ppc-linux-nat.c (struct thread_points): Update comment.
+ * probe.h (find_probes_in_objfile): Update comment.
+ * target.h (enum flash_preserve_mode): Update comment.
+ * varobj.c (varobj_restrict_range): Update comment.
+ * varobj.h (varobj_list_children): Update comment.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * Makefile.in: Remove references to vec.h and vec.c.
+ * aarch64-tdep.c: No longer include vec.h.
+ * ada-lang.c: Likewise.
+ * ada-lang.h: Likewise.
+ * arm-tdep.c: Likewise.
+ * ax.h: Likewise.
+ * breakpoint.h: Likewise.
+ * charset.c: Likewise.
+ * cp-support.h: Likewise.
+ * dtrace-probe.c: Likewise.
+ * dwarf2read.c: Likewise.
+ * extension.h: Likewise.
+ * gdb_bfd.c: Likewise.
+ * gdbsupport/gdb_vecs.h: Likewise.
+ * gdbsupport/vec.c: Remove.
+ * gdbsupport/vec.h: Remove.
+ * gdbthread.h: Likewise.
+ * guile/scm-type.c: Likewise.
+ * inline-frame.c: Likewise.
+ * machoread.c: Likewise.
+ * memattr.c: Likewise.
+ * memrange.h: Likewise.
+ * namespace.h: Likewise.
+ * nat/linux-btrace.h: Likewise.
+ * osdata.c: Likewise.
+ * parser-defs.h: Likewise.
+ * progspace.h: Likewise.
+ * python/py-type.c: Likewise.
+ * record-btrace.c: Likewise.
+ * rust-exp.y: Likewise.
+ * solib-target.c: Likewise.
+ * stap-probe.c: Likewise.
+ * target-descriptions.c: Likewise.
+ * target-memory.c: Likewise.
+ * target.h: Likewise.
+ * varobj.c: Likewise.
+ * varobj.h: Likewise.
+ * xml-support.h: Likewise.
+
+2019-10-15 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb/dwarf2read.c (dwarf2_per_objfile::~dwarf2_per_objfile):
+ Update for new std::vector based implementation.
+ (process_psymtab_comp_unit_reader): Likewise.
+ (scan_partial_symbols): Likewise.
+ (recursively_compute_inclusions): Likewise.
+ (compute_compunit_symtab_includes): Likewise.
+ (process_imported_unit_die): Likewise.
+ (queue_and_load_dwo_tu): Likewise.
+ (follow_die_sig_1): Likewise.
+ * gdb/dwarf2read.h: Remove DEF_VEC_P.
+ (typedef dwarf2_per_cu_ptr): Remove.
+ (struct dwarf2_per_cu_data) <imported_symtabs_empty>: New
+ function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_push>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_size>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs_free>: New function.
+ (struct dwarf2_per_cu_data) <imported_symtabs>: Change to
+ std::vector.
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat_target::resume): Use %x when logging
+ TID.
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (windows_nat_target::fetch_registers)
+ (windows_nat_target::store_registers): Rename "pid" to "tid".
+
+2019-10-15 Tom Tromey <tromey@adacore.com>
+
+ * gdbarch.h, gdbarch.c: Rebuild.
+ * gdbarch.sh (gcc_target_options): Change return type to
+ std::string.
+ * compile/compile.c (get_args): Update.
+ * nios2-tdep.c (nios2_gcc_target_options): Return std::string.
+ * arm-linux-tdep.c (arm_linux_gcc_target_options): Return
+ std::string.
+ * aarch64-linux-tdep.c (aarch64_linux_gcc_target_options): Return
+ std::string.
+ * arch-utils.c (default_gcc_target_options): Return std::string.
+ * arch-utils.h (default_gcc_target_options): Return std::string.
+ * s390-tdep.c (s390_gcc_target_options): Return std::string.
+
+2019-10-15 Christian Biesinger <cbiesinger@google.com>
+
+ * breakpoint.c (breakpoint_chain): Make static.
+ * tui/tui-winsource.c: Call iterate_over_breakpoints instead
+ of accessing breakpoint_chain.
+
+2019-10-15 Christian Biesinger <cbiesinger@google.com>
+
+ * breakpoint.c (iterate_over_breakpoints): Change function pointer
+ to a gdb::function_view and return value to bool.
+ * breakpoint.h (iterate_over_breakpoints): Likewise.
+ * dummy-frame.c (pop_dummy_frame_bpt): Update.
+ (pop_dummy_frame): Update.
+ * guile/scm-breakpoint.c (bpscm_build_bp_list): Update.
+ (gdbscm_breakpoints): Update.
+ * python/py-breakpoint.c (build_bp_list): Update.
+ (gdbpy_breakpoints): Update.
+ * python/py-finishbreakpoint.c (bpfinishpy_detect_out_scope_cb):
+ Update.
+ (bpfinishpy_handle_stop): Update.
+ (bpfinishpy_handle_exit): Update.
+ * solib-svr4.c (svr4_update_solib_event_breakpoint): Update.
+ (svr4_update_solib_event_breakpoints): Update.
+
+2019-10-15 Andreas Arnez <arnez@linux.ibm.com>
+
+ * s390-tdep.c (s390_effective_inner_type): Ignore static fields
+ when unwrapping single-field structs.
+
+2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * dwarf2read.c: Remove includes.
+
+2019-10-13 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * ui-out.c (ui_out::call_do_message): Silence
+ -Wformat-nonliteral warning.
+
+2019-10-12 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * breakpoint.c: Remove some includes: continuations.h, skip.h,
+ mi/mi-main.h, readline/readline.h, readline/history.h. Add
+ include: readline/tilde.h.
+
+2019-10-12 Christian Biesinger <cbiesinger@google.com>
+
+ * remote.c (remote_target::get_trace_status): Remove declaration of
+ trace_regblock_size.
+
+2019-10-12 Christian Biesinger <cbiesinger@google.com>
+
+ * cli/cli-cmds.c (max_user_call_depth): Move comment to header.
+ (show_user): Remove declaration of cmdlist.
+ * cli/cli-cmds.h (max_user_call_depth): Declare.
+ * cli/cli-script.c (execute_user_command): Remove declaration
+ of max_user_call_depth.
+
+2019-10-11 Jim Wilson <jimw@sifive.com>
+
+ * gdbsupport/print-utils.h (pulongest): Fix comment.
+ (plongest): Likewise.
+ (phex): Add missing comment, mention leading zeros.
+ (phex_nz): Add mention of no leading zeros to comment.
+
+ * riscv-tdep.c (riscv_push_dummy_code): Change %lld to %s and use
+ plongest instead of unsigned long long cast.
+
+2019-10-10 Christian Biesinger <cbiesinger@google.com>
+
+ * main.c (captured_main_1): Include gdbtk.h and remove declarations
+ for external_editor_command and gdbtk_test.
+
+2019-10-10 Christian Biesinger <cbiesinger@google.com>
+
+ * mi/mi-cmd-var.c (varobjdebug): Remove declaration.
+ * varobj.c (varobjdebug): Move comment to...
+ * varobj.h (varobjdebug): ...here, and declare.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-regs.c (tui_data_window::show_registers): Don't call
+ erase_data_content.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.h (tui_delete_win): Don't declare.
+ * tui/tui-stack.c (tui_locator_window::rerender): Update.
+ * tui/tui-command.c (tui_cmd_window::resize)
+ (tui_refresh_cmd_win): Update.
+ * tui/tui-win.c (tui_resize_all, tui_set_focus_command): Update.
+ * tui/tui.c (tui_rl_other_window, tui_enable): Update.
+ * tui/tui-data.c (~tui_gen_win_info): Remove.
+ * tui/tui-layout.c (tui_gen_win_info::resize): Update.
+ * tui/tui-io.c (update_cmdwin_start_line, tui_putc, tui_puts)
+ (tui_redisplay_readline, tui_mld_flush)
+ (tui_mld_erase_entire_line, tui_mld_getc, tui_getc): Update.
+ * tui/tui-regs.c (tui_data_window::delete_data_content_windows)
+ (tui_data_window::erase_data_content)
+ (tui_data_item_window::rerender)
+ (tui_data_item_window::refresh_window): Update.
+ * tui/tui-wingeneral.c (tui_gen_win_info::refresh_window)
+ (box_win, tui_gen_win_info::make_window)
+ (tui_gen_win_info::make_visible): Update.
+ (tui_delete_win): Remove.
+ * tui/tui-winsource.c
+ (tui_source_window_base::do_erase_source_content): Update.
+ (tui_show_source_line, tui_source_window_base::update_tab_width)
+ (tui_source_window_base::update_exec_info): Update.
+ * tui/tui-data.h (struct curses_deleter): New.
+ (struct tui_gen_win_info) <handle>: Now a unique_ptr.
+ (struct tui_gen_win_info) <~tui_gen_win_info>: Define.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-wingeneral.h (struct tui_gen_win_info): Don't declare.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-data.c (tui_win_is_auxiliary): Remove.
+ * tui/tui-data.h (tui_win_is_auxiliary): Don't declare.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui-disasm.c (tui_get_low_disassembly_address): Compute
+ window height directly.
+ * tui/tui-layout.h (tui_default_win_viewport_height): Don't
+ declare.
+ * tui/tui-layout.c (tui_default_win_height): Remove.
+ (tui_default_win_viewport_height): Remove.
+
+2019-10-09 Tom Tromey <tom@tromey.com>
+
+ * tui/tui.h: Remove comments.
+
+2019-10-09 Tom de Vries <tdevries@suse.de>
+
+ * python/lib/gdb/printer/bound_registers.py: Use
+ '^builtin_type_bound128' as regexp argument for
+ add_builtin_pretty_printer.
+
+2019-10-09 Christian Biesinger <cbiesinger@google.com>
+
+ * guile/guile.c (guile_extension_script_ops): Remove forward
+ declaration and mark as static.
+ (guile_script_ops): Likewise.
+ (extension_language_guile): Move further down in the file so
+ it can reference the definitions for guile_{extension_,}script_ops.
+
+2019-10-09 Andreas Arnez <arnez@linux.ibm.com>
+
+ * s390-tdep.c (390_process_record): Handle new arch13 instructions
+ except SORTL, DFLTCC, and KDSA.
+
+2019-10-08 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c (struct windows_thread_info_struct) <sf>: Remove.
+ (struct safe_symbol_file_add_args): Remove.
+
+2019-10-08 Tom Tromey <tromey@adacore.com>
+
+ * windows-nat.c: Don't include buildsym-legacy.h.
+
+2019-10-08 Tom Tromey <tromey@adacore.com>
+
+ * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
+
+2019-10-08 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbtypes.c (overload_debug): Move comment to header.
+ * gdbtypes.h (overload_debug): Declare.
+ * valops.c: Remove declaration of overload_debug, instead
+ include gdbtypes.h.
+
+2019-10-08 Christian Biesinger <cbiesinger@google.com>
+
+ * language.c (show_language_command): Pass lang_frame_mismatch_warn
+ through _().
+ (lang_frame_mismatch_warn): Make const, mark with N_(), and
+ move comment...
+ * language.h (lang_frame_mismatch_warn): ... here. Also add
+ declaration.
+ * top.c (lang_frame_mismatch_warn): Remove declaration.
+ (check_frame_language_change): Pass lang_frame_mismatch_warn
+ through _().
+
+2019-10-07 Christian Biesinger <cbiesinger@google.com>
+
+ * c-lang.h (vtbl_ptr_name): Declare.
+ * cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get
+ it from the header.
+ * stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name.
+
+2019-10-07 Christian Biesinger <cbiesinger@google.com>
+
+ * charset.c (your_gdb_wchar_t_is_bogus): Replace with a
+ gdb_static_assert.
+
+2019-10-07 Weimin Pan <weimin.pan@oracle.com>
+
+ * ../Makefile.def (dependencies): Add all-libctf to all-gdb
+ * ../Makefile.in: Add "all-gdb: maybe-all-libctf"
+ * ctfread.c: New file.
+ * ctfread.h: New file.
+ * elfread.c: Include ctfread.h.
+ (struct elfinfo text_p): New member ctfsect.
+ (elf_locate_sections): Mark CTF section.
+ (elf_symfile_read): Call elfctf_build_psymtabs.
+ * Makefile.in (LIBCTF): Add.
+ (CLIBS): Use it.
+ (CDEPS): Likewise.
+ (DIST): Add ctfread.c.
+
+2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * ctfread.c (struct nextfield): Renamed to ...
+ (struct ctf_nextfield): ... this.
+ (struct field_info): Renamed to ...
+ (strut ctf_field_info): ... this.
+ (attach_fields_to_type): Update for renamed structures.
+ (ctf_add_member_cb): Likewise.
+ (ctf_add_enum_member_cb): Likewise.
+ (process_struct_members): Likewise.
+ (process_enum_type): Likewise.
+
+2019-10-07 Weimin Pan <weimin.pan@oracle.com>
+
+ * tracectf.h: Rename, was ctf.h.
+ * tracectf.c: Rename, was ctf.c, replace ctf.h with tracectf.h.
+ * tracefile.c: Likewise.
+ * tracepoint.c: Remove unused include ctf.h.
+ * mi/mi-main.c: Likewise.
+ * Makefile.in Replace ctf.c with tracectf.c.
+
+2019-10-06 Joel Brobecker <brobecker@adacore.com>
+
+ * version.in: Change version number to "9.0.50.DATE-git".
+
+2019-10-03 Tom Tromey <tom@tromey.com>
+
+ PR rust/24976:
+ * dwarf2read.c (quirk_rust_enum): Handle single-element unions.
+
+2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * f-lang.c (f_language_defn): Use cp_get_symbol_name_matcher and
+ cp_search_name_hash.
+ * NEWS: Add entry about nested function support.
+
+2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
+ Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * cp-namespace.c (cp_search_static_and_baseclasses): Only search
+ for nested static variables when searchin VAR_DOMAIN.
+ * dwarf2read.c (add_partial_symbol): Add nested subroutines to the
+ global scope, update comment.
+ (add_partial_subprogram): Call add_partial_subprogram recursively
+ for nested subroutines when processinng Fortran.
+ (load_partial_dies): Process the child entities of a subprogram
+ when processing Fortran.
+ (partial_die_parent_scope): Handle building scope
+ for Fortran nested functions.
+ (process_die): Record that nested functions have a scope.
+ (new_symbol): Always record Fortran subprograms on the global
+ symbol list.
+ (determine_prefix): How to build the prefix for Fortran
+ subprograms.
+
+2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * linux-nat.c (linux_nat_filter_event): Don't ignore SIGSTOP if we
+ have just sent the thread a SIGSTOP and are waiting for it to
+ arrive.
+
+2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * btrace.c (btrace_add_pc): Remove whitespace before the template
+ parameter in 'std::vector <...>'.
+ (parse_xml_btrace_block): Likewise.
+ (btrace_maint_decode_pt): Likewise.
+ (btrace_maint_update_packets): Likewise.
+ (btrace_maint_print_packets): Likewise.
+ * btrace.h (struct btrace_maint_info): Likewise.
+ * dwarf2read.c (struct type_unit_group): Likewise.
+ (build_type_psymtabs_reader): Likewise.
+ * gdbsupport/btrace-common.c (btrace_data_append): Likewise.
+ * gdbsupport/btrace-common.h (struct btrace_data_bts): Likewise.
+ * nat/linux-btrace.c (perf_event_read_bts): Likewise.
+
+2019-10-03 Tom de Vries <tdevries@suse.de>
+
+ * cli/cli-style.c (_initialize_cli_style): Adding a '.' at the end of
+ the first line of the help text for set/show style metadata.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * Makefile.in (COMMON_SFILES): Add common-inferior.c.
+ * gdbsupport/common-inferior.c: New file.
+ * infcmd.c (startup_with_shell): Don't define.
+ * nat/fork-inferior.h (startup_with_shell): Don't declare.
+ * gdbsupport/common-inferior.h (startup_with_shell): Declare.
+ * inferior.h (startup_with_shell): Don't declare.
+
+2019-10-02 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbsupport/gdb_assert.h: Include errors.h.
+ * gdbsupport/gdb_string_view.h: Include gdb_assert.h.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * NEWS: Add $_ada_exception entry.
+ * ada-lang.c (struct ada_catchpoint): Add constructor.
+ <m_kind>: New member.
+ (allocate_location_exception, re_set_exception): Remove
+ "ex" parameter.
+ (should_stop_exception): Compute $_ada_exception.
+ (check_status_exception, print_it_exception)
+ (print_one_exception, print_mention_exception): Remove
+ "ex" parameter.
+ (allocate_location_catch_exception, re_set_catch_exception)
+ (check_status_exception, print_it_catch_exception)
+ (print_one_catch_exception, print_mention_catch_exception)
+ (print_recreate_catch_exception)
+ (allocate_location_catch_exception_unhandled)
+ (re_set_catch_exception_unhandled)
+ (check_status_exception, print_it_catch_exception_unhandled)
+ (print_one_catch_exception_unhandled)
+ (print_mention_catch_exception_unhandled)
+ (print_recreate_catch_exception_unhandled)
+ (allocate_location_catch_assert, re_set_catch_assert)
+ (check_status_assert, print_it_catch_assert)
+ (print_one_catch_assert, print_mention_catch_assert)
+ (print_recreate_catch_assert)
+ (allocate_location_catch_handlers, re_set_catch_handlers)
+ (check_status_handlers, print_it_catch_handlers)
+ (print_one_catch_handlers, print_mention_catch_handlers)
+ (print_recreate_catch_handlers): Remove.
+ (create_ada_exception_catchpoint): Update.
+ (initialize_ada_catchpoint_ops): Update.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * ada-lang.c (ada_lookup_simple_minsyms): Remove.
+ (create_excep_cond_exprs): Simplify exception string computation.
+ (ada_exception_catchpoint_cond_string): Likewise.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * symmisc.c (dump_msymbols): Don't use MSYMBOL_VALUE_ADDRESS.
+ * ada-lang.c (lesseq_defined_than): Handle
+ LOC_STATIC.
+ * dwarf2read.c (dwarf2_per_objfile): Add can_copy
+ parameter.
+ (dwarf2_has_info): Likewise.
+ (new_symbol): Set maybe_copied on symbol when
+ appropriate.
+ * dwarf2read.h (dwarf2_per_objfile): Add can_copy
+ parameter.
+ <can_copy>: New member.
+ * elfread.c (record_minimal_symbol): Set maybe_copied
+ on symbol when appropriate.
+ (elf_symfile_read): Update call to dwarf2_has_info.
+ * minsyms.c (lookup_minimal_symbol_linkage): New
+ function.
+ * minsyms.h (lookup_minimal_symbol_linkage): Declare.
+ * symtab.c (get_symbol_address, get_msymbol_address):
+ New functions.
+ * symtab.h (get_symbol_address, get_msymbol_address):
+ Declare.
+ (SYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_ADDRESS): Handle
+ maybe_copied.
+ (struct symbol, struct minimal_symbol) <maybe_copied>:
+ New member.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * source.c (struct current_source_location): New.
+ (current_source_key): New global.
+ (current_source_symtab, current_source_line)
+ (current_source_pspace): Remove.
+ (get_source_location): New function.
+ (get_current_source_symtab_and_line)
+ (set_default_source_symtab_and_line)
+ (set_current_source_symtab_and_line)
+ (clear_current_source_symtab_and_line, select_source_symtab)
+ (info_source_command, print_source_lines_base)
+ (info_line_command, search_command_helper, _initialize_source):
+ Update.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * source.c (select_source_symtab): Don't call
+ decode_line_with_current_source.
+
+2019-10-02 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * symtab.c (lookup_global_symbol): Search global block.
+
+2019-10-02 Tom Tromey <tromey@adacore.com>
+
+ * coffread.c (process_coff_symbol): Update.
+ * dwarf2read.c (var_decode_location, new_symbol): Update.
+ * mdebugread.c (parse_symbol): Update.
+ * objfiles.c (relocate_one_symbol): Update.
+ * stabsread.c (define_symbol, fix_common_block)
+ (scan_file_globals): Update.
+ * symtab.h (SYMBOL_VALUE_ADDRESS): Expand to an rvalue.
+ (SET_SYMBOL_VALUE_ADDRESS): New macro.
+ * xcoffread.c (process_xcoff_symbol): Update.
+
+2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
+
+ * MAINTAINERS: Update my email address.
+
+2019-10-02 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * dwarf2read.c (struct type_unit_group) <tus>: Convert to
+ std::vector.
+ (build_type_psymtabs_reader): Update for std::vector.
+ (build_type_psymtab_dependencies): Likewise.
+ * dwarf2read.h: Remove use of DEF_VEC_P.
+ (typedef sig_type_ptr): Delete.
+
+2019-10-02 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * btrace.c (btrace_maint_clear): Update to handle change from VEC
+ to std::vector.
+ (btrace_maint_decode_pt): Likewise, and move allocation of the
+ vector outside of the loop.
+ (btrace_maint_update_packets): Update to handle change from VEC to
+ std::vector.
+ (btrace_maint_print_packets): Likewise.
+ (maint_info_btrace_cmd): Likewise.
+ * btrace.h: Remove use of DEF_VEC_O.
+ (typedef btrace_pt_packet_s): Delete.
+ (struct btrace_maint_info) <packets>: Change fromm VEC to
+ std::vector.
+ * gdbsupport/btrace-common.h: Remove 'vec.h' include.
+
+2019-10-02 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * btrace.c (btrace_compute_ftrace_bts): Update for std::vector,
+ make accesses into the vector constant references.
+ (btrace_add_pc): Update for std::vector.
+ (btrace_stitch_bts): Likewise.
+ (parse_xml_btrace_block): Likewise.
+ (btrace_maint_update_packets): Likewise.
+ (btrace_maint_print_packets): Likewise.
+ (maint_info_btrace_cmd): Likewise.
+ * gdbsupport/btrace-common.c (btrace_data::fini): Update for
+ std::vector.
+ (btrace_data::empty): Likewise.
+ (btrace_data_append): Likewise.
+ * gdbsupport/btrace-common.h: Remove use of DEF_VEC_O.
+ (typedef btrace_block_s): Delete.
+ (struct btrace_block): Add constructor.
+ (struct btrace_data_bts) <blocks>: Change to std::vector.
+ * nat/linux-btrace.c (perf_event_read_bts): Update for
+ std::vector.
+ (linux_read_bts): Likewise.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-logging.c (show_logging_filename): Use styled_string.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * stack.c (print_frame, info_frame_command_core): Use
+ styled_string.
+ * linux-thread-db.c (try_thread_db_load_1)
+ (try_thread_db_load_from_pdir_1): Use styled_string.
+ * auto-load.c (file_is_auto_load_safe, execute_script_contents)
+ (auto_load_section_scripts, info_auto_load_local_gdbinit)
+ (maybe_print_unsupported_script_warning)
+ (maybe_print_script_not_found_warning): Use styled_string.
+ * ada-lang.c (user_select_syms): Use styled_string.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * p-lang.c (pascal_printstr): Use metadata style.
+ * value.c (show_convenience): Use metadata style.
+ * valprint.c (valprint_check_validity, val_print_optimized_out)
+ (val_print_not_saved, val_print_unavailable)
+ (val_print_invalid_address, generic_val_print, val_print)
+ (value_check_printable, val_print_array_elements): Use metadata
+ style.
+ * ui-out.h (class ui_out) <field_fmt>: New overload.
+ <do_field_fmt>: Add style parameter.
+ * ui-out.c (ui_out::field_fmt): New overload.
+ * typeprint.c (type_print_unknown_return_type)
+ (val_print_not_allocated, val_print_not_associated): Use metadata
+ style.
+ * tui/tui-out.h (class tui_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * tui/tui-out.c (tui_ui_out::do_field_fmt): Update.
+ * tracepoint.c (tvariables_info_1): Use metadata style.
+ * stack.c (print_frame_arg, print_frame_info, print_frame)
+ (info_frame_command_core): Use metadata style.
+ * skip.c (info_skip_command): Use metadata style.
+ * rust-lang.c (rust_print_enum): Use metadata style.
+ * python/py-prettyprint.c (print_stack_unless_memory_error): Use
+ metadata style.
+ * python/py-framefilter.c (py_print_single_arg): Use metadata
+ style.
+ * printcmd.c (do_one_display, print_variable_and_value): Use
+ metadata style.
+ * p-valprint.c (pascal_val_print)
+ (pascal_object_print_value_fields): Use metadata style.
+ * p-typeprint.c (pascal_type_print_base): Use metadata style.
+ * mi/mi-out.h (class mi_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * mi/mi-out.c (mi_ui_out::do_field_fmt): Update.
+ * m2-valprint.c (m2_print_long_set): Use metadata style.
+ * m2-typeprint.c (m2_print_type): Use metadata style.
+ * infcmd.c (print_return_value_1): Use metadata style.
+ * gnu-v3-abi.c (print_one_vtable): Use metadata style.
+ * f-valprint.c (info_common_command_for_block): Use metadata
+ style.
+ * f-typeprint.c (f_type_print_base): Use metadata style.
+ * expprint.c (print_subexp_standard): Use metadata style.
+ * cp-valprint.c (cp_print_value_fields): Use metadata style.
+ * cli/cli-style.h (class cli_style_option): Add constructor.
+ (metadata_style): Declare.
+ * cli/cli-style.c (metadata_style): New global.
+ (_initialize_cli_style): Register metadata style.
+ * cli-out.h (class cli_ui_out) <do_field_fmt>: Add style
+ parameter.
+ * cli-out.c (cli_ui_out::do_field_fmt): Update.
+ * c-typeprint.c (c_type_print_base_struct_union)
+ (c_type_print_base_1): Use metadata style.
+ * breakpoint.c (watchpoint_value_print)
+ (print_one_breakpoint_location): Use metadata style.
+ * break-catch-syscall.c (print_one_catch_syscall): Use metadata
+ style.
+ * break-catch-sig.c (signal_catchpoint_print_one): Use metadata
+ style.
+ * ada-valprint.c (val_print_packed_array_elements, printstr)
+ (print_field_values, ada_val_print_ref, ada_val_print): Use
+ metadata style.
+ * ada-typeprint.c (print_array_type, ada_print_type): Use metadata
+ style.
+ * ada-tasks.c (print_ada_task_info, info_task): Use metadata
+ style.
+ * ada-lang.c (user_select_syms): Use metadata style.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-cmds.c (pwd_command): Style output.
+
+2019-10-01 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tom@tromey.com>
+
+ * symtab.c (print_symbol_info): Use %ps.
+ (print_msymbol_info): Use %ps.
+ * symfile.c (symbol_file_add_with_addrs): Use %ps.
+ * printcmd.c (print_variable_and_value): Use %ps.
+ * macrocmd.c (show_pp_source_pos): Use %ps.
+ * infrun.c (print_exited_reason): Use ui_out::message.
+ * breakpoint.c (watchpoint_check, print_one_breakpoint_location)
+ (describe_other_breakpoints): Use ui_out::message and new
+ formats.
+ (say_where): Use new formats.
+ (bkpt_print_it, tracepoint_print_one_detail): Use ui_out::message
+ and new formats.
+
+2019-10-01 Pedro Alves <palves@redhat.com>
+ Tom Tromey <tom@tromey.com>
+
+ * unittests/format_pieces-selftests.c: Add gdb_format parameter.
+ (test_gdb_formats): New function.
+ (run_tests): Call it.
+ (test_format_specifier): Update.
+ * utils.h (fputs_filtered): Update comment.
+ (vfprintf_styled, vfprintf_styled_no_gdbfmt)
+ (fputs_styled_unfiltered): Declare.
+ * utils.c (fputs_styled_unfiltered): New function.
+ (vfprintf_maybe_filtered): Add gdbfmt parameter.
+ (vfprintf_filtered): Update.
+ (vfprintf_unfiltered, vprintf_filtered): Update.
+ (vfprintf_styled, vfprintf_styled_no_gdbfmt): New functions.
+ * ui-out.h (enum ui_out_flag) <unfiltered_output,
+ disallow_ui_out_field>: New constants.
+ (enum class field_kind): New.
+ (struct base_field_s, struct signed_field_s): New.
+ (signed_field): New function.
+ (struct string_field_s): New.
+ (string_field): New function.
+ (struct styled_string_s): New.
+ (styled_string): New function.
+ (class ui_out) <message>: Add comment.
+ <vmessage, call_do_message>: New methods.
+ <do_message>: Add style parameter.
+ * ui-out.c (ui_out::call_do_message, ui_out::vmessage): New
+ methods.
+ (ui_out::message): Rewrite.
+ * mi/mi-out.h (class mi_ui_out) <do_message>: Add style
+ parameter.
+ * mi/mi-out.c (mi_ui_out::do_message): Add style parameter.
+ * gdbsupport/format.h (class format_pieces) <format_pieces>: Add
+ gdb_extensions parameter.
+ (class format_piece): Add parameter to constructor.
+ (n_int_args): New field.
+ * gdbsupport/format.c (format_pieces::format_pieces): Add
+ gdb_extensions parameter. Handle '*'.
+ * cli-out.h (class cli_ui_out) <do_message>: Add style parameter.
+ * cli-out.c (cli_ui_out::do_message): Add style parameter. Call
+ vfprintf_styled_no_gdbfmt.
+ (cli_ui_out::do_field_string, cli_ui_out::do_spaces)
+ (cli_ui_out::do_text, cli_ui_out::field_separator): Allow
+ unfiltered output.
+ * ui-style.h (struct ui_file_style) <ptr>: New method.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * unittests/format_pieces-selftests.c: Update. Add final format.
+ * gdbsupport/format.c (format_pieces::format_pieces): Don't add
+ empty literal pieces.
+
+2019-10-01 Tom Tromey <tom@tromey.com>
+
+ * ui-out.h (enum class ui_out_style_kind): Remove.
+ (class ui_out) <field_string, field_stsream, do_field_string>:
+ Change type of "style".
+ * ui-out.c (ui_out::field_core_addr, ui_out::field_stream)
+ (ui_out::field_string): Update.
+ * tui/tui-out.h (class tui_ui_out) <do_field_string>: Change type
+ of "style".
+ * tui/tui-out.c (tui_ui_out::do_field_string): Update.
+ * tracepoint.c (print_one_static_tracepoint_marker): Update.
+ * stack.c (print_frame_arg, print_frame_info, print_frame):
+ Update.
+ * source.c (print_source_lines_base): Update.
+ * solib.c (info_sharedlibrary_command): Update.
+ * skip.c (info_skip_command): Update.
+ * record-btrace.c (btrace_call_history_src_line)
+ (btrace_call_history): Update.
+ * python/py-framefilter.c (py_print_frame): Update.
+ * mi/mi-out.h (class mi_ui_out) <do_field_string>: Change type of
+ "style".
+ * mi/mi-out.c (mi_ui_out::do_table_header)
+ (mi_ui_out::do_field_signed, mi_ui_out::do_field_unsigned)
+ (mi_ui_out::do_field_string): Update.
+ * disasm.c (gdb_pretty_print_disassembler::pretty_print_insn):
+ Update.
+ * cli-out.h (class cli_ui_out) <do_field_string>: Change type of
+ "style".
+ * cli-out.c (cli_ui_out::do_table_header)
+ (cli_ui_out::do_field_signed, cli_ui_out::do_field_unsigned)
+ (cli_ui_out::do_field_skip, cli_ui_out::do_field_string)
+ (cli_ui_out::do_field_fmt): Update.
+ * breakpoint.c (print_breakpoint_location): Update.
+ (update_static_tracepoint): Update.
+
+2019-10-01 Philippe Waroquiers <philippe.waroquiers@skynet.be>
+
+ * main.c (relocate_gdbinit_path_maybe_in_datadir): Remove std::string
+ conversion of gdb_datadir.
+ (captured_main_1): Remove xstrdup when assigning to gdb_datadir,
+ remove not needed c_str ().
+
+2019-09-30 Ali Tamur <tamur@google.com>
+
+ * dwarf2read.c (skip_one_die): Handle DW_FORM_strx forms.
+ (dwarf2_string_attr): Likewise.
+
+2019-09-30 Ali Tamur <tamur@google.com>
+
+ * dwarf2read.c (process_full_comp_unit): Remove whitespace at the EOL.
+ (process_full_type_unit): Likewise.
+ (dump_die_shallow): Likewise.
+ (cu_debug_loc_section): Likewise.
+
+2019-09-28 Christian Biesinger <cbiesinger@google.com>
+
+ * minsyms.c (compare_minimal_symbols): Rename to...
+ (minimal_symbol_is_less_than): ...this, and adjust to STL
+ conventions (return bool, take arguments as references)
+ (minimal_symbol_reader::install): Call std::sort instead
+ of qsort.
+
+2019-09-29 Christian Biesinger <cbiesinger@google.com>
+
+ * minsyms.h (msymbol_hash): Document that this is a case-insensitive
+ hash and why.
+ * objfiles.h (struct objfile_per_bfd_storage) <demangled_names_hash,
+ msymbol_hash, msymbol_demangled_hash>: Improve comments.
+
+2019-09-30 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * psymtab.c (add_psymbol_to_list): Move comment to psympriv.h.
+ * psympriv.h (add_psymbol_to_list): Move comment here and update
+ it.
+
+2019-09-29 Tom de Vries <tdevries@suse.de>
+
+ * contrib/cc-with-tweaks.sh (get_tmpdir): New function.
+ Use $tmpdir/$(basename "$output_file").dwz instead of
+ "${output_file}.dwz".
+
+2019-09-28 Simon Marchi <simon.marchi@polymtl.ca>
+
+ PR gdb/25045
+ * hppa-linux-nat.c: Include gdbarch.h.
+
+2019-09-26 Christian Biesinger <cbiesinger@google.com>
+
+ * blockframe.c (find_pc_partial_function): Change return type to bool.
+ * elfread.c (elf_gnu_ifunc_resolve_name): Likewise.
+ * minsyms.c (in_gnu_ifunc_stub): Likewise.
+ (stub_gnu_ifunc_resolve_name): Likewise.
+ * symtab.c (compare_filenames_for_search): Likewise.
+ (compare_glob_filenames_for_search): Likewise.
+ (matching_obj_sections): Likewise.
+ (symbol_matches_domain): Likewise.
+ (find_line_symtab): Change out param EXACT_MATCH to bool *.
+ (find_line_pc): Change return type to bool.
+ (find_line_pc_range): Likewise.
+ (producer_is_realview): Likewise.
+ * symtab.h (symbol_matches_domain): Likewise.
+ (find_pc_partial_function): Likewise.
+ (find_pc_line_pc_range): Likewise.
+ (in_gnu_ifunc_stub): Likewise.
+ (struct gnu_ifunc_fns) <gnu_ifunc_resolve_name>: Likewise.
+ (find_line_pc): Likewise.
+ (find_line_pc_range): Likewise.
+ (matching_obj_sections): Likewise.
+ (find_line_symtab): Change out parameter to bool.
+ (producer_is_realview): Change return type to bool.
+ (compare_filenames_for_search): Likewise.
+ (compare_glob_filenames_for_search): Likewise.
+
+2019-09-26 Tom Tromey <tom@tromey.com>
+
+ * Makefile.in (COMMON_SFILES): Remove gdb_usleep.c.
+ (HFILES_NO_SRCDIR): Remove gdb_usleep.h.
+ * gdb_usleep.h: Remove.
+ * gdb_usleep.c: Remove.
+ * utils.c: Don't include gdb_usleep.h.
+
+2019-09-26 Tom Tromey <tromey@adacore.com>
+
+ * python/py-type.c (type_to_type_object): Call check_typedef
+ for stub types.
+
+2019-09-26 Tom Tromey <tom@tromey.com>
+
+ * utils.h (initialize_utils): Don't declare.
+ * top.c (gdb_init): Don't call initialize_utils.
+ * utils.c (initialize_utils): Remove. Move contents...
+ (_initialize_utils): ... here.
+
+2019-09-25 Tom Tromey <tom@tromey.com>
+
+ * python/py-objfile.c (objfpy_get_build_id): Use bin2hex.
+ * utils.h (make_hex_string): Don't declare.
+ * utils.c (make_hex_string): Remove.
+
+2019-09-24 Tom de Vries <tdevries@suse.de>
+
+ PR gdb/23815
+ * amd64-linux-nat.c (amd64_linux_nat_target::fetch_registers):
+ Initialize xstateregs before ptrace PTRACE_GETREGSET call.
+
+2019-09-23 Dimitar Dimitrov <dimitar@dinux.eu>
+
+ * NEWS: Mention new simulator port for PRU.
+
+2019-09-23 Christian Biesinger <cbiesinger@google.com>
+
+ * ada-exp.y (write_object_remaining): Update.
+ * ada-lang.c (ada_decode): Return a std::string instead of a char*
+ and eliminate the static buffer.
+ (ada_decode_symbol): Update.
+ (ada_la_decode): Update.
+ (ada_sniff_from_mangled_name): Update.
+ (is_valid_name_for_wild_match): Update.
+ (ada_lookup_name_info::matches): Update and simplify.
+ (name_matches_regex): Update.
+ (ada_add_global_exceptions): Update.
+ * ada-lang.h (ada_decode): Update signature.
+ * ada-varobj.c (ada_varobj_describe_simple_array_child): Update.
+ * dwarf-index-write.c (debug_names::insert): Update.
+
+2019-09-21 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix
+ formatting.
+
2019-09-21 Simon Marchi <simon.marchi@polymtl.ca>
* breakpoint.h (bp_location) <inserted, permanent, duplicate>:
2019-07-04 Alan Hayward <alan.hayward@arm.com>
+ PR breakpoints/25011
* symfile.c (symbol_file_command): Call solib_create_inferior_hook.
2019-07-04 Tom Tromey <tom@tromey.com>
2019-05-28 Alan Hayward <alan.hayward@arm.com>
+ PR gdb/25010
* event-top.c: Remove include comment.
* inflow.c (class scoped_ignore_sigttou): Move from here...
* inflow.h (class scoped_ignore_sigttou): ...to here.